hcchar8
Module Instance | Base Address | Register Address |
---|---|---|
usb0 | 0xFFB00000 | 0xFFB00600 |
usb1 | 0xFFB40000 | 0xFFB40600 |
Offset: 0x600
Access: RW
Bit Fields | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
chena RO 0x0 |
chdis RO 0x0 |
Reserved |
devaddr RW 0x0 |
ec RW 0x0 |
eptype RW 0x0 |
lspddev RW 0x0 |
Reserved |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
epdir RW 0x0 |
epnum RW 0x0 |
mps RW 0x0 |
hcchar8 Fields
Bit | Name | Description | Access | Reset | ||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
31 | chena | When Scatter/Gather mode is disabled This field is set by the application and cleared by the OTG host. 0: Channel disabled 1: Channel enabled When Scatter/Gather mode is enabled.
|
RO | 0x0 | ||||||||||||||||||||||||||||||||||
30 | chdis | The application sets this bit to stop transmitting/receiving data on a channel, even before the transfer for that channel is complete. The application must wait for the Channel Disabled interrupt before treating the channel as disabled.
|
RO | 0x0 | ||||||||||||||||||||||||||||||||||
28:22 | devaddr | This field selects the specific device serving as the data source or sink. |
RW | 0x0 | ||||||||||||||||||||||||||||||||||
21:20 | ec | When the Split Enable bit of the Host Channel-n Split Control register (HCSPLTn.SpltEna) is reset (0), this field indicates to the host the number of transactions that must be executed per microframe for this periodic endpoint. for non periodic transfers, this field is used only in DMA mode, and specifies the number packets to be fetched for this channel before the internal DMA engine changes arbitration. When HCSPLTn.SpltEna is Set (1), this field indicates the number of immediate retries to be performed for a periodic split transactions on transaction errors. This field must be set to at least 1.
|
RW | 0x0 | ||||||||||||||||||||||||||||||||||
19:18 | eptype | Indicates the transfer type selected.
|
RW | 0x0 | ||||||||||||||||||||||||||||||||||
17 | lspddev | This field is set by the application to indicate that this channel is communicating to a low-speed device. The application must program this bit when a low speed device is connected to the host through an FS HUB. The HS OTG Host core uses this field to drive the XCVR_SELECT signal to 0x3 while communicating to the LS Device through the FS hub. In a peer to peer setup, the HS OTG Host core ignores this bit even if it is set by the application software
|
RW | 0x0 | ||||||||||||||||||||||||||||||||||
15 | epdir | Indicates whether the transaction is IN or OUT.
|
RW | 0x0 | ||||||||||||||||||||||||||||||||||
14:11 | epnum | Indicates the endpoint number on the device serving as the data source or sink.
|
RW | 0x0 | ||||||||||||||||||||||||||||||||||
10:0 | mps | Indicates the maximum packet size of the associated endpoint. |
RW | 0x0 |