Регистры Allwinner H616

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


PIO_POW_MOD_SEL
9.6.4. PIO Group Withstand Voltage Mode Select Register - адрес: 0x300b340 (смещение: 0x0340)

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



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

  Unused

Bits 31 : 13

  PH_PORT_PF_PORT_POWER

Bit 12
R/W
0x0

VCC-IO&PH_Port&PF_Port POWER MODE Select
0: 3.3 V
1: 1.8 V


  Unused

Bits 11 : 9

  PI_POWER

Bit 8
R/W
0x0

PI_POWER MODE Select
0: 3.3 V
1: 1.8 V


  Unused

Bit 7

  PG_POWER

Bit 6
R/W
0x0

PG_POWER MODE Select
0: 3.3 V
1: 1.8 V


  Unused

Bits 5 : 3

  PC_POWER

Bit 2
R/W
0x0

PC_POWER MODE Select
0: 3.3 V
1: 1.8 V


Note
When the power domain of GPIO is larger than 1.8 V, the withstand voltage is set to 3.3 V mode, the corresponding value in 0x0340 register is set to 0.
When the power domain of GPIO is 1.8 V, the withstand voltage is set to 1.8 V mode, the corresponding value in 0x0340 register is set to 1.


  Unused

Bits 1 : 0


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

md 300b340 1



Bit fields structure

typedef union  pio_pow_mod_sel
{
  struct
  {
   unsigned unused0 : 2;
   unsigned pc_power : 1;
   unsigned unused1 : 3;
   unsigned pg_power : 1;
   unsigned unused2 : 1;
   unsigned pi_power : 1;
   unsigned unused3 : 3;
   unsigned ph_port_pf_port_power : 1;
   unsigned unused4 : 19;
  } b;
   unsigned long w;
} PIO_POW_MOD_SEL
   

Allwinner H616 Manual