Регистры Allwinner H616

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


PH_EINT_CFG1
9.6.4. PH External Interrupt Configure Register 1 - адрес: 0x300b2e4 (смещение: 0x02E4)

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



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

  Unused

Bits 31 : 12

  EINT10_CFG

Bits 11 : 8
R/W
0x0

External INT10 Mode
0x0: Positive Edge
0x1: Negative Edge
0x2: High Level
0x3: Low Level
0x4: Double Edge (Positive/ Negative)
Others: Reserved


  EINT9_CFG

Bits 7 : 4
R/W
0x0

External INT9 Mode
0x0: Positive Edge
0x1: Negative Edge
0x2: High Level
0x3: Low Level
0x4: Double Edge (Positive/ Negative)
Others: Reserved


  EINT8_CFG

Bits 3 : 0
R/W
0x0

External INT8 Mode
0x0: Positive Edge
0x1: Negative Edge
0x2: High Level
0x3: Low Level
0x4: Double Edge (Positive/ Negative)
Others: Reserved



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

md 300b2e4 1



Bit fields structure

typedef union  ph_eint_cfg1
{
  struct
  {
   unsigned eint8_cfg : 4;
   unsigned eint9_cfg : 4;
   unsigned eint10_cfg : 4;
   unsigned unused0 : 20;
  } b;
   unsigned long w;
} PH_EINT_CFG1
   

Allwinner H616 Manual