Datasheet
394
42023E–SAM–07/2013
ATSAM4L8/L4/L2
17.7.2.10 Endpoint n Configuration Register
Register Name: UECFGn, n in [0..7]
Access Type: Read/Write
Offset: 0x0100 + (n * 0x04)
Reset Value: 0x00000000
• REPNB: Redirected endpoint number
This field is used to configure the redirected endpoint number.
This field should be zero if the redirected endpoint feature is not used.
This field should not be used for control endpoints.
This field is cleared upon receiving a USB reset.
• EPTYPE: Endpoint Type
This field selects the endpoint type:
This field is cleared upon receiving a USB reset.
• EPDIR: Endpoint Direction
0: The endpoint direction is OUT.
1: The endpoint direction is IN (nor for control endpoints).
This bit is cleared upon receiving a USB reset.
31 30 29 28 27 26 25 24
--------
23 22 21 20 19 18 17 16
---- REPNB
15 14 13 12 11 10 9 8
- - - EPTYPE - - EPDIR
76543210
- EPSIZE -
EPBK
--
EPTYPE Endpoint Type
0 0 Control
0 1 Isochronous
10Bulk
1 1 Interrupt