Регистры Allwinner H616

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


PH_EINT_STATUS
9.6.4. PH External Interrupt Status Register - адрес: 0x300b2f4 (смещение: 0x02F4)

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



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

  Unused

Bits 31 : 11

  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 300b2f4 1



Bit fields structure

typedef union  ph_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 unused0 : 21;
  } b;
   unsigned long w;
} PH_EINT_STATUS
   

Allwinner H616 Manual