Регистры Allwinner H616

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


USB_STBY_CTRL_REG
3.13.5. USB Standby Control Register - адрес: 0x7000200 (смещение: 0x0200)

Часы реального времени RTC: список регистров



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

  VDD_USB

Bit 31
R/W
0x1

1: VDD_USB power from ldo
0: VDD_USB power from pin


  USB2_LDO

Bits 30 : 28
R/W
0x1

000: 0.87V
001: 0.9V
010: 0.94V
011: 0.97V
100:1.01V
101:1.05V
110:1.08V
111:1.11V
USB2_LDO output power level select


  Unused

Bits 27 : 26

  RC_CLK_EN_USB

Bit 25
R/W
0x0

0: Disable
1: Enable


  RC_CLK_SEL_USB

Bit 24
R/W
0x0

SCLK_USBPHY, EHCI_HCLK and OHCI_SCLK Clock Source Select. RC16M clock is selected only in USB standby mode if necessary

0: SCLK_USBPHY is from OSC24M, EHCI_HCLK and OHCI_HCLK are from Hclk
1: SCLK_USBPHY, EHCI_HCLK and OHCI_SCLK are from RC16M


  Unused

Bits 23 : 17

  USB_POWER_OFF_GATING

Bit 16
R/W
0x0

0: disable
1: enable
Gating the VDD_SYS to VDD_USB signal in USB standby mode.
It must be set to 1 before entering USB standby mode and set to 0 when exiting Normal mode.


  Unused

Bits 15 : 9

  USB_STBY_IRQ_POWER_OFF_GATING

Bit 8
R/W
0x0

0: disable
1: enable
Gating the USB standby irq signal to RTC module in Super Standby mode when USB module is power off.
It must be set to 1 in Super Standby mode and must set to 0 in other mode.


  Unused

Bits 7 : 6

  SYSTEM_STANDBY_IRQ_OUTPUT_GATING

Bit 5
R/W
0x0

0: disable irq output
1: enable irq output
Mask the SYS standby irq output to nmi pad when SoC is going to USB standby mode or Super standby mode.


  USB_STBY_IRQ_OUTPUT_GATING

Bit 4
R/W
0x0

0: disable irq output
1: enable irq output
Mask the USB standby irq output to nmi pad. It must be set to 1 in USB
standby mode and set to 0 in other mode.


  Unused

Bits 3 : 0


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

md 7000200 1



Bit fields structure

typedef union  usb_stby_ctrl_reg
{
  struct
  {
   unsigned unused0 : 4;
   unsigned usb_stby_irq_output_gating : 1;
   unsigned system_standby_irq_output_gating : 1;
   unsigned unused1 : 2;
   unsigned usb_stby_irq_power_off_gating : 1;
   unsigned unused2 : 7;
   unsigned usb_power_off_gating : 1;
   unsigned unused3 : 7;
   unsigned rc_clk_sel_usb : 1;
   unsigned rc_clk_en_usb : 1;
   unsigned unused4 : 2;
   unsigned usb2_ldo : 3;
   unsigned vdd_usb : 1;
  } b;
   unsigned long w;
} USB_STBY_CTRL_REG
   

Allwinner H616 Manual