The USB host transmit configure type endpoint n 8-bit registers (USBTXTYPE[n]) must be written with the endpoint number to be targeted by the endpoint, the transaction protocol to use for the currently selected transmit endpoint, and its operating speed.
The USBTXTYPE[n] registers are shown in Figure 22-51 and described in Table 22-53.
Figure 22-51 USB Host Transmit
Configure Type Endpoint n Registers (USBTXTYPE[n])
LEGEND: R/W = Read/Write; -n = value after
reset |
Table 22-53 USB Host Transmit
Configure Type Endpoint n Registers (USBTXTYPE[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 transmit 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. |