Регистры Allwinner H616

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


USB_SPDCR
9.5.3. HCI SIE Port Disable Control Register - адрес: 0x5200828 0x5310828 0x5311828 (смещение: 0x0828)

Хост-контроллер USB2.0: список регистров



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

  Unused

Bits 31 : 17

  SE0_STATUS

Bit 16
R/W
0x0

This bit is set when no-se0 is detected before SOF when bit[1:0] is 10b or 11b.


  Unused

Bits 15 : 5

  RESUME_SEL

Bit 4
R/W
0x0

When set k-se0 transition 2us, setting this bit to 1, which is cooperated with ss_utmi_backward_enb_i.


  Unused

Bits 3 : 2

  PORT_DISABLE_CONTROL

Bits 1 : 0
R/W
0x0

00: Port Disable when no-se0 detect before SOF
01: Port Disable when no-se0 detect before SOF
10: No Port Disable when no-se0 detect before SOF
11:Port Disable when no-se0 3 time detect before SOF during 8 frames



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

md 5200828 1
md 5310828 1
md 5311828 1



Bit fields structure

typedef union  usb_spdcr
{
  struct
  {
   unsigned port_disable_control : 2;
   unsigned unused0 : 2;
   unsigned resume_sel : 1;
   unsigned unused1 : 11;
   unsigned se0_status : 1;
   unsigned unused2 : 15;
  } b;
   unsigned long w;
} USB_SPDCR
   

Allwinner H616 Manual