Регистры Allwinner H616

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


E_HCCPARAMS
9.5.3. EHCI Host Control Capability Parameter Register - адрес: 0x5200008 0x5310008 0x5311008 (смещение: 0x0008)

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



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

  Unused

Bits 31 : 16

  EECP

Bits 15 : 8
R
0x0

EHCI Extended Capabilities Pointer
This optional field indicates the existence of a capabilities list.
A value of 00b indicates no extended capabilities are implemented.
A non-zero value in this register indicates the offset in PCI configuration space of the first EHCI extended capabiliby.
The pointer value must be 40h or greater if implemented to maintain to consistency of the PCI header defined for this calss of device.
The value of this field is always '00b'.


  ISO_SCHED_THRESHOLD

Bits 7 : 4
R
0x0

Isochronous Scheduling Threshold
This field indicates, relative to the current position of the executing host
controller, where software can reliably update the isochronous schedule.
When bit[7] is zero, the value of the least significant 3 bits indicates the
number of micro-frames a host controller can hold a set of isochronous data
structures(one or more) before flushing the state. When bit[7] is a one, then
host software assumes the host controller may cache an isochronous data
structure for an entire frame.


  RESERV

Bit 3
R
0x1


  ASYNCH_SCHED_PARK_CAP

Bit 2
R
0x0

Asynchronous Schedule Park Capability
If this bit is set to a one, then the host controller supports the park feature
for high-speed queue heads in the Asynchronous Schedule.
The feature can be disabled or enabled and set to a specific level by using the Asynchronous
Schedule Park Mode Enable and Asynchronous Schedule Park Mode Count fields in the USBCMD register.


  PROGR_FRAME_LIST_FLG

Bit 1
R
0x0

Programmable Frame List Flag
If this bit is set to a zero, then system software must use a frame list length of 1024 elements with this host controller.
The USBCMD register Frame List Size field is a read-only register and should be set to zero.
If set to 1, then system software can specify and use the frame list in the USBCMD register Frame List Size field to cofigure the host controller.
The frame list must always aligned on a 4K page boundary.
This requirement ensures that the frame list is always physically contiguous.


  Unused

Bit 0


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

md 5200008 1
md 5310008 1
md 5311008 1



Bit fields structure

typedef union  e_hccparams
{
  struct
  {
   unsigned unused0 : 1;
   unsigned progr_frame_list_flg : 1;
   unsigned asynch_sched_park_cap : 1;
   unsigned reserv : 1;
   unsigned iso_sched_threshold : 4;
   unsigned eecp : 8;
   unsigned unused1 : 16;
  } b;
   unsigned long w;
} E_HCCPARAMS
   

Allwinner H616 Manual