AT83C51SND1C_03 ATMEL [ATMEL Corporation], AT83C51SND1C_03 Datasheet - Page 85

no-image

AT83C51SND1C_03

Manufacturer Part Number
AT83C51SND1C_03
Description
Single-Chip Flash Microcontroller with MP3 Decoder and Human Interface
Manufacturer
ATMEL [ATMEL Corporation]
Datasheet
4109E–8051–06/03
Table 89. Summary of Endpoint Configuration
Endpoint Configuration
Disabled
Control
Bulk-in
Bulk-out
Interrupt-In
Interrupt-Out
Isochronous-In
Isochronous-Out
Endpoint enable
Before using an endpoint, this must be enabled by setting the EPEN bit in the UEP-
CONX register.
An endpoint which is not enabled won’t answer to any USB request. The Default
Control Endpoint (Endpoint 0) should always be enabled in order to answer to USB
standard requests.
Endpoint type configuration
All Standard Endpoints can be configured in Control, Bulk, Interrupt or Isochronous
mode. The Ping-pong Endpoints can be configured in Bulk, Interrupt or Isochronous
mode. The configuration of an endpoint is performed by setting the field EPTYPE
with the following values:
The Endpoint 0 is the Default Control Endpoint and should always be configured in
Control type.
Endpoint direction configuration
For Bulk, Interrupt and Isochronous endpoints, the direction is defined with the
EPDIR bit of the UEPCONX register with the following values:
For Control endpoints, the EPDIR bit has no effect.
Summary of Endpoint Configuration:
Do not forget to select the correct endpoint number in the UEPNUM register before
accessing endpoint specific registers.
Control:
Isochronous: EPTYPE = 01b
Bulk:
Interrupt:
IN:
OUT:
EPDIR = 0b
EPDIR = 1b
EPTYPE = 00b
EPTYPE = 10b
EPTYPE = 11b
EPEN
0b
1b
1b
1b
1b
1b
1b
1b
EPDIR
Xb
Xb
1b
0b
1b
0b
0b
1b
AT8xC51SND1C
EPTYPE
XXb
00b
10b
10b
11b
11b
01b
01b
0XXX XXXb
UEPCONX
80h
86h
82h
87h
83h
85h
81h
85

Related parts for AT83C51SND1C_03