Регистры Allwinner H616

Сокращения  |  Дерево шин  |  Карта памяти


PG_EINT_STATUS
9.6.4. PG External Interrupt Status Register - адрес: 0x300b2d4 (смещение: 0x02D4)

Контроллер портов ввода-вывода (GPIO): список регистров



31 ||||||||||||||||| 16
15 ||||||||||||||||| 00

  Unused

Bits 31 : 20

  EINT19_STATUS

Bit 19
R/W
0x0

External INT19 Pending Bit
0: No IRQ pending
1: IRQ pending
Write 1 to clear


  EINT18_STATUS

Bit 18
R/W
0x0

External INT18 Pending Bit
0: No IRQ pending
1: IRQ pending
Write 1 to clear


  EINT17_STATUS

Bit 17
R/W
0x0

External INT17 Pending Bit
0: No IRQ pending
1: IRQ pending
Write 1 to clear


  EINT16_STATUS

Bit 16
R/W
0x0

External INT16 Pending Bit
0: No IRQ pending
1: IRQ pending
Write 1 to clear


  EINT15_STATUS

Bit 15
R/W
0x0

External INT15 Pending Bit
0: No IRQ pending
1: IRQ pending
Write 1 to clear


  EINT14_STATUS

Bit 14
R/W
0x0

External INT14 Pending Bit
0: No IRQ pending
1: IRQ pending
Write 1 to clear


  EINT13_STATUS

Bit 13
R/W
0x0

External INT13 Pending Bit
0: No IRQ pending
1: IRQ pending
Write 1 to clear


  EINT12_STATUS

Bit 12
R/W
0x0

External INT12 Pending Bit
0: No IRQ pending
1: IRQ pending
Write 1 to clear


  EINT11_STATUS

Bit 11
R/W
0x0

External INT11 Pending Bit
0: No IRQ pending
1: IRQ pending
Write 1 to clear


  EINT10_STATUS

Bit 10
R/W
0x0

External INT10 Pending Bit
0: No IRQ pending
1: IRQ pending
Write 1 to clear


  EINT9_STATUS

Bit 9
R/W
0x0

External INT9 Pending Bit
0: No IRQ pending
1: IRQ pending
Write 1 to clear


  EINT8_STATUS

Bit 8
R/W
0x0

External INT8 Pending Bit
0: No IRQ pending
1: IRQ pending
Write 1 to clear


  EINT7_STATUS

Bit 7
R/W
0x0

External INT7 Pending Bit
0: No IRQ pending
1: IRQ pending
Write 1 to clear


  EINT6_STATUS

Bit 6
R/W
0x0

External INT6 Pending Bit
0: No IRQ pending
1: IRQ pending
Write 1 to clear


  EINT5_STATUS

Bit 5
R/W
0x0

External INT5 Pending Bit
0: No IRQ pending
1: IRQ pending
Write 1 to clear


  EINT4_STATUS

Bit 4
R/W
0x0

External INT4 Pending Bit
0: No IRQ pending
1: IRQ pending
Write 1 to clear


  EINT3_STATUS

Bit 3
R/W
0x0

External INT3 Pending Bit
0: No IRQ pending
1: IRQ pending
Write 1 to clear


  EINT2_STATUS

Bit 2
R/W
0x0

External INT2 Pending Bit
0: No IRQ pending
1: IRQ pending
Write 1 to clear


  EINT1_STATUS

Bit 1
R/W
0x0

External INT1 Pending Bit
0: No IRQ pending
1: IRQ pending
Write 1 to clear


  EINT0_STATUS

Bit 0
R/W
0x0

External INT0 Pending Bit
0: No IRQ pending
1: IRQ pending
Write 1 to clear



Команда U-Boot для чтения регистра

md 300b2d4 1



Bit fields structure

typedef union  pg_eint_status
{
  struct
  {
   unsigned eint0_status : 1;
   unsigned eint1_status : 1;
   unsigned eint2_status : 1;
   unsigned eint3_status : 1;
   unsigned eint4_status : 1;
   unsigned eint5_status : 1;
   unsigned eint6_status : 1;
   unsigned eint7_status : 1;
   unsigned eint8_status : 1;
   unsigned eint9_status : 1;
   unsigned eint10_status : 1;
   unsigned eint11_status : 1;
   unsigned eint12_status : 1;
   unsigned eint13_status : 1;
   unsigned eint14_status : 1;
   unsigned eint15_status : 1;
   unsigned eint16_status : 1;
   unsigned eint17_status : 1;
   unsigned eint18_status : 1;
   unsigned eint19_status : 1;
   unsigned unused0 : 12;
  } b;
   unsigned long w;
} PG_EINT_STATUS
   

Allwinner H616 Manual