The USB host configure receive type endpoint n 8-bit registers (USBRXTYPE[n]) must be written with the endpoint number to be targeted by the endpoint, the transaction protocol to use for the currently selected receive endpoint, and its operating speed.
The USBRXTYPE[n] registers are shown in Figure 22-53 and described in Table 22-56.
Figure 22-53 USB Host Configure Receive Type Endpoint n Register (USBRXTYPE[n])
LEGEND: R/W = Read/Write; -n = value after
reset |
Table 22-56 USB Host Configure Receive
Type Endpoint n Register (USBRXTYPE[n]) Field DescriptionsBit | Field | Value | Description |
---|
7-6 | SPEED | | Operating Speed. This bit field specifies the operating speed of the target Device: |
0h | Default. The target is assumed to be using the same connection speed as the USB controller. |
1h | Reserved |
2h | Full |
3h | Low |
5-4 | PROTO | | Protocol. Software must configure this bit field to select the required protocol for the receive endpoint: |
0h | Control |
1h | Reserved |
2h | Bulk |
3h | Interrupt |
3-0 | TEP | 0 | Target Endpoint Number. Software must configure this value to the endpoint number contained in the transmit endpoint descriptor returned to the USB controller during Device enumeration. |