Регистры Allwinner H616

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


O_HcFmNumber
9.5.3. OHCI Frame Number Register - адрес: 0x520043c 0x531043c 0x531143c (смещение: 0x043C)

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



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

  Unused

Bits 31 : 16

  FRAME_NUMBER

Bits 15 : 0
R (R/W)
0x0

This is incremented when HcFmRemaining is re-loaded. It will be rolled over to 0x0 after 0x0ffff.
When entering the USBOPERATIONAL state, this will be incremented automatically.
The content will be written to HCCA after HC has incremented the FrameNumber at each frame boundary and sent a SOF but before HC reads the first ED in that Frame.
After writing to HCCA, HC will set the StartofFrame in HcInterruptStatus.

HCD (HC)



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

md 520043c 1
md 531043c 1
md 531143c 1



Bit fields structure

typedef union  o_hcfmnumber
{
  struct
  {
   unsigned frame_number : 16;
   unsigned unused0 : 16;
  } b;
   unsigned long w;
} O_HcFmNumber
   

Allwinner H616 Manual