Регистры Allwinner H616

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


USB_BGR_REG
3.3.4. USB Bus Gating Reset Register - адрес: 0x3001a8c (смещение: 0x0A8C)

Контроллер синхрогенератора: список регистров



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

  Unused

Bits 31 : 25

  USBOTG_RST

Bit 24
R/W
0x0

USBOTG Reset
0: Assert
1: De-assert


  USBEHCI3_RST

Bit 23
R/W
0x0

USBEHCI3 Reset
0: Assert
1: De-assert


  USBEHCI2_RST

Bit 22
R/W
0x0

USBEHCI2 Reset
0: Assert
1: De-assert


  USBEHCI1_RST

Bit 21
R/W
0x0

USBEHCI1 Reset
0: Assert
1: De-assert


  USBEHCI0_RST

Bit 20
R/W
0x0

USBEHCI0 Reset
0: Assert
1: De-assert


  USBOHCI3_RST.

Bit 19
R/W
0x0

USBOHCI3 Reset.
0: Assert
1: De-assert


  USBOHCI2_RST.

Bit 18
R/W
0x0

USBOHCI2 Reset.
0: Assert
1: De-assert


  USBOHCI1_RST.

Bit 17
R/W
0x0

USBOHCI1 Reset.
0: Assert
1: De-assert


  USBOHCI0_RST

Bit 16
R/W
0x0

USBOHCI0 Reset
0: Assert
1: De-assert


  Unused

Bits 15 : 9

  USBOTG_GATING

Bit 8
R/W
0x0

Gating Clock For USBOTG
0: Mask
1: Pass


  USBEHCI3_GATING

Bit 7
R/W
0x0

Gating Clock For USBEHCI3
0: Mask
1: Pass


  USBEHCI2_GATING

Bit 6
R/W
0x0

Gating Clock For USBEHCI2
0: Mask
1: Pass


  USBEHCI1_GATING

Bit 5
R/W
0x0

Gating Clock For USBEHCI1
0: Mask
1: Pass


  USBEHCI0_GATING

Bit 4
R/W
0x0

Gating Clock For USBEHCI0
0: Mask
1: Pass


  USBOHCI3_GATING

Bit 3
R/W
0x0

Gating Clock For USBOHCI3
0: Mask
1: Pass


  USBOHCI2_GATING

Bit 2
R/W
0x0

Gating Clock For USBOHCI2
0: Mask
1: Pass


  USBOHCI1_GATING

Bit 1
R/W
0x0

Gating Clock For USBOHCI1
0: Mask
1: Pass


  USBOHCI0_GATING

Bit 0
R/W
0x0

Gating Clock For USBOHCI0
0: Mask
1: Pass



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

md 3001a8c 1



Bit fields structure

typedef union  usb_bgr_reg
{
  struct
  {
   unsigned usbohci0_gating : 1;
   unsigned usbohci1_gating : 1;
   unsigned usbohci2_gating : 1;
   unsigned usbohci3_gating : 1;
   unsigned usbehci0_gating : 1;
   unsigned usbehci1_gating : 1;
   unsigned usbehci2_gating : 1;
   unsigned usbehci3_gating : 1;
   unsigned usbotg_gating : 1;
   unsigned unused0 : 7;
   unsigned usbohci0_rst : 1;
   unsigned usbohci1_rst. : 1;
   unsigned usbohci2_rst. : 1;
   unsigned usbohci3_rst. : 1;
   unsigned usbehci0_rst : 1;
   unsigned usbehci1_rst : 1;
   unsigned usbehci2_rst : 1;
   unsigned usbehci3_rst : 1;
   unsigned usbotg_rst : 1;
   unsigned unused1 : 7;
  } b;
   unsigned long w;
} USB_BGR_REG
   

Allwinner H616 Manual