Регистры Allwinner H616

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


PIO_POW_MS_CTL
9.6.4. PIO Group Withstand Voltage Mode Select Control Register - адрес: 0x300b344 (смещение: 0x0344)

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



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

  Unused

Bits 31 : 13

  VCC_IO

Bit 12
R/W
0x0

VCC-IO&PH_Port&PF_Port Withstand Voltage Mode Select Control
0: Enable
1: Disable


  Unused

Bits 11 : 9

  VCC_PI

Bit 8
R/W
0x0

VCC-PI Withstand Voltage Mode Select Control
0: Enable
1: Disable


  Unused

Bit 7

  VCC_PG

Bit 6
R/W
0x0

VCC-PG Withstand Voltage Mode Select Control
0: Enable
1: Disable


  Unused

Bits 5 : 3

  VCC_PC

Bit 2
R/W
0x0

VCC-PC Withstand Voltage Mode Select Control
0: Enable
1: Disable


Note
For 1.8 V and 3.3 V power, the withstand function is enabled by default, the corresponding bit in 0x0344 register is set to 0.
For 2.5 V power, the withstand function is disabled, the corresponding bit in 0x0344 register is set to 1, and the withstand mode in 0x0340 register needs be set to 3.3 V.


  Unused

Bits 1 : 0


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

md 300b344 1



Bit fields structure

typedef union  pio_pow_ms_ctl
{
  struct
  {
   unsigned unused0 : 2;
   unsigned vcc_pc : 1;
   unsigned unused1 : 3;
   unsigned vcc_pg : 1;
   unsigned unused2 : 1;
   unsigned vcc_pi : 1;
   unsigned unused3 : 3;
   unsigned vcc_io : 1;
   unsigned unused4 : 19;
  } b;
   unsigned long w;
} PIO_POW_MS_CTL
   

Allwinner H616 Manual