Регистры Allwinner H616

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


O_HcInterruptEnable
9.5.3. OHCI Interrupt Enable Register - адрес: 0x5200410 0x5310410 0x5311410 (смещение: 0x0410)

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



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

  MASTER_INTERRUPT_ENABLE

Bit 31
R/W (R)
0x0

A '0' writtern to this field is ignored by HC. A 1 written to this field enables
interrupt generation due to events specified in the other bits of this register.
This is used by HCD as Master Interrupt Enable.


  Unused

Bits 30 : 7

  ROOT_HUB_STATUS_CHANGE

Bit 6
R/W (R)
0x0

Root Hub Status Change Interrupt Enable
0: Ignore
1: Enable interrupt generation due to Root Hub Status Change


  FRAME_NUMBER_OVERFLOW

Bit 5
R/W (R)
0x0

Frame Number Overflow Interrupt Enable

0: Ignore;
1: Enable interrupt generation due to Frame Number Over Flow;


  UNRECOVERABLE_ERROR

Bit 4
R/W (R)
0x0

Unrecoverable Error Interrupt Enable

0: Ignore;
1: Enable interrupt generation due to Unrecoverable Error;


  RESUME_DETECTED

Bit 3
R/W (R)
0x0

Resume Detected Interrupt Enable

0: Ignore;
1: Enable interrupt generation due to Resume Detected;


  START_OF_FRAME

Bit 2
R/W (R)
0x0

Start Of Frame Interrupt Enable

0: Ignore;
1: Enable interrupt generation due to Start of Flame;


  WRITE_BACK_DONE_HEAD

Bit 1
R/W (R)
0x0

Write Back Done Head Interrupt Enable

0: Ignore;
1: Enable interrupt generation due to Write back Done Head;


  SCHEDULING_OVERRUN

Bit 0
R/W (R)
0x0

Scheduling Overrun Interrupt Enable
0: Ignore;
1: Enable interrupt generation due to Scheduling Overrun;



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

md 5200410 1
md 5310410 1
md 5311410 1



Bit fields structure

typedef union  o_hcinterruptenable
{
  struct
  {
   unsigned scheduling_overrun : 1;
   unsigned write_back_done_head : 1;
   unsigned start_of_frame : 1;
   unsigned resume_detected : 1;
   unsigned unrecoverable_error : 1;
   unsigned frame_number_overflow : 1;
   unsigned root_hub_status_change : 1;
   unsigned unused0 : 24;
   unsigned master_interrupt_enable : 1;
  } b;
   unsigned long w;
} O_HcInterruptEnable
   

Allwinner H616 Manual