AT83EC5123 ATMEL Corporation, AT83EC5123 Datasheet - Page 82

no-image

AT83EC5123

Manufacturer Part Number
AT83EC5123
Description
(AT8xx512x) Smart Card Reader ICs
Manufacturer
ATMEL Corporation
Datasheet
82
AT8xC5122/23
Table 64. USB Endpoint X Control Register - UEPCONX (S:D4h)
Reset Value = 1000 0000b when UEPNUM = 0
Reset Value = 0000 0000b otherwise
Bit Number
EPEN
1-0
7
7
6
5
4
3
2
EPTYPE[1:0]
Mnemonic
NAKIEN
NAKOUT
NAKIEN
NAKIN
EPDIR
EPEN
DTGL
6
Bit
NAKOUT
Description
Endpoint Enable
Set this bit to enable the endpoint according to the device configuration.
Endpoint 0 will always be enabled after a hardware or USB bus reset and
participate in the device configuration.
Clear this bit to disable the endpoint according to the device configuration.
NAK Interrupt Enable
Set this bit to enable NAKIN and NAKOUT Interrupt.
Clear this bit to disable NAKIN and NAKOUT Interrupt.
NAK OUT Sent
This bit is set by hardware when the a NAK handshake is sent by the USB
controller to an OUT request from the Host. This generates an interrupt if the
NAKIEN bit is set.
This bit shall be cleared by software.
NAK IN Sent
This bit is set by hardware when the a NAK handshake is sent by the USB
controller to an IN request from the Host. This generates an interrupt if the
NAKIEN bit is set.
This bit shall be cleared by software.
Data Toggle (Read-only)
This bit is set by hardware when a valid DATA0 packet is received and
accepted.
This bit is cleared by hardware when a valid DATA1 packet is received and
accepted.
Endpoint Direction
Set this bit to configure IN direction for Bulk, Interrupt and Isochronous
endpoints.
Clear this bit to configure OUT direction for Bulk, Interrupt and Isochronous
endpoints.
This bit has no effect for Control endpoints.
Endpoint Type
Set this field according to the endpoint configuration (Endpoint 0 will always be
configured as control):
00Control endpoint
01Isochronous endpoint
10Bulk endpoint
11Interrupt endpoint
5
NAKIN
4
DTGL
3
EPDIR
2
EPTYPE1
1
4202B–SCR–07/03
EPTYPE0
0

Related parts for AT83EC5123