Регистры Allwinner H616

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


PL_DAT
9.6.4. Port L Data Register - адрес: 0x300b010 (смещение: 0x0010)

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



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

  Unused

Bits 31 : 6

  PL_DAT

Bits 5 : 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 300b010 1



Bit fields structure

typedef union  pl_dat
{
  struct
  {
   unsigned pl_dat : 6;
   unsigned unused0 : 26;
  } b;
   unsigned long w;
} PL_DAT
   

Allwinner H616 Manual