Регистры Allwinner H616

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


E_USBINTR
9.5.3. EHCI USB Interrupt Enable Register - адрес: 0x5200018 0x5310018 0x5311018 (смещение: 0x0018)

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



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

  Unused

Bits 31 : 6

  INTER_ASYNC_ADV_ENA

Bit 5
R/W
0x0

Interrupt on Async Advance Enable
When this bit is 1, and the Interrupt on Async Advance bit in the USBSTS
register is 1, the host controller will issue an interrupt at the next interrupt threshold.
The interrupt is acknowledged by software clearing the Interrupt on Async Advance bit.


  HOST_SYST_ERR_ENA

Bit 4
R/W
0x0

Host System Error Enable
When this bit is 1, and the Host System Error Status bit in the USBSTS
register is 1, the host controller will issue an interrupt.
The interrupt is acknowledged by software clearing the Host System Error bit.


  FRAME_LIST_ROLL_ENA

Bit 3
R/W
0x0

Frame List Rollover Enable
When this bit is 1, and the Frame List Rollover bit in the USBSTS register is 1, the host controller will issue an interrupt.
The interrupt is acknowledged by software clearing the Frame List Rollover bit.


  PORT_CHANGE_INTER_ENA

Bit 2
R/W
0x0

Port Change Interrupt Enable
When this bit is 1, and the Port Chang Detect bit in the USBSTS register is 1, the host controller will issue an interrupt.
The interrupt is acknowledged by software clearing the Port Chang Detect bit.


  USB_ERR_INTER_ENA

Bit 1
R/W
0x0

USB Error Interrupt Enable
When this bit is 1, and the USBERRINT bit in the USBSTS register is 1,the
host controller will issue an interrupt at the next interrupt threshold.
The interrupt is acknowledged by software clearing the USBERRINT bit.


  USB_INTER_ENA

Bit 0
R/W
0x0

USB Interrupt Enable
When this bit is 1, and the USBINT bit in the USBSTS register is 1,the host
controller will issue an interrupt at the next interrupt threshold.
The interrupt is acknowledged by software clearing the USBINT bit



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

md 5200018 1
md 5310018 1
md 5311018 1



Bit fields structure

typedef union  e_usbintr
{
  struct
  {
   unsigned usb_inter_ena : 1;
   unsigned usb_err_inter_ena : 1;
   unsigned port_change_inter_ena : 1;
   unsigned frame_list_roll_ena : 1;
   unsigned host_syst_err_ena : 1;
   unsigned inter_async_adv_ena : 1;
   unsigned unused0 : 26;
  } b;
   unsigned long w;
} E_USBINTR
   

Allwinner H616 Manual