Atmel Xplained Pro Evaluation Kit for the ATSAMD21J18A Microcontroller ATSAMD21-XPRO ATSAMD21-XPRO Data Sheet

Product codes
ATSAMD21-XPRO
Page of 1018
780
Atmel | SMART SAM D21 [DATASHEET]
Atmel-42181C–SAM-D21_Datasheet–07/2014
z
Bits 2:0 – EPTYPE0[2:0]: Type of the Endpoint for OUT direction
These bits contains the endpoint type for OUT direction.
Table 31-15. Type of Endpoint
Upon receiving a USB reset EPCFGn.EPTYPE0 is cleared except for endpoint 0 which is unchanged.
EPTYPE0[2:0]
Description
0x0
Bank0 is disabled
0x1
Bank0 is enabled and configured as Control SETUP / Control OUT
0x2
Bank0 is enabled and configured as Isochronous OUT
0x3
Bank0 is enabled and configured as Bulk OUT
0x4
Bank0 is enabled and configured as Interrupt OUT
0x5
Bank0 is enabled and configured as Dual Bank IN
(EndPoint type is the same as the one defined in EPTYPE1)
0x6-0x7
Reserved