C8051F340/1/2/3/4/5/6/7
16.1. Endpoint Addressing
A total of eight endpoint pipes are available. The control endpoint (Endpoint0) always functions as a
Table 16.1. Endpoint Addressing Scheme
Endpoint | Associated Pipes | USB Protocol Address | |
Endpoint0 | Endpoint0 IN | 0x00 | |
Endpoint0 OUT | 0x00 | ||
| |||
Endpoint1 | Endpoint1 IN | 0x81 | |
Endpoint1 OUT | 0x01 | ||
| |||
Endpoint2 | Endpoint2 IN | 0x82 | |
Endpoint2 OUT | 0x02 | ||
| |||
Endpoint3 | Endpoint3 IN | 0x83 | |
Endpoint3 OUT | 0x03 | ||
|
16.2. USB Transceiver
The USB Transceiver is configured via the USB0XCN register shown in SFR Definition 16.1. This configu- ration includes Transceiver enable/disable,
Important Note: The USB clock should be active before the Transceiver is enabled.
164 | Rev. 0.5 |