Регистры Allwinner H616

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


PF_DAT
9.6.4. PF Data Register - адрес: 0x300b0c4 (смещение: 0x00C4)

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



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

  Unused

Bits 31 : 7

  PF_DAT

Bits 6 : 0
R/W
0x0

If the port is configured as input, the corresponding bit is the pin state.
If the port is configured as output, the pin state is the same as the corresponding bit.
The read bit value is the value setup by software.
If the port is configured as functional pin, the undefined value will be read.



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

md 300b0c4 1



Bit fields structure

typedef union  pf_dat
{
  struct
  {
   unsigned pf_dat : 7;
   unsigned unused0 : 25;
  } b;
   unsigned long w;
} PF_DAT
   

Allwinner H616 Manual