Регистры Allwinner H616

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


O_HcDoneHead
9.5.3. OHCI Done Head Base - адрес: 0x5200430 0x5310430 0x5311430 (смещение: 0x0430)

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



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

  HC_DONE_HEAD_31_4

Bits 31 : 4
R (R/W)
0x0

HcDoneHead[31:4]


When a TD is completed, HC writes the content of HcDoneHead to the NextTD field of the TD.
HC then overwrites the content of HcDoneHead with the address of this TD.
This is set to zero whenever HC writes the content of this register to HCCA.
It also sets the WritebackDoneHead of HcInterruptStatus.


  HC_DONE_HEAD_3_0

Bits 3 : 0
R (R)
0x0

HcDoneHead[3:0]
Because the general TD length is 16 bytes, the memory structure for the TD must be aligned to a 16-byte boundary.
So the lower bits in the PCED, Ithrough bit 0 to bit 3 must be zero in this field.

HCD (HC)



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

md 5200430 1
md 5310430 1
md 5311430 1



Bit fields structure

typedef union  o_hcdonehead
{
  struct
  {
   unsigned hc_done_head_3_0 : 4;
   unsigned hc_done_head_31_4 : 28;
  } b;
   unsigned long w;
} O_HcDoneHead
   

Allwinner H616 Manual