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

Product codes
ATSAMD21-XPRO
Page of 1018
825
Atmel | SMART SAM D21 [DATASHEET]
Atmel-42181C–SAM-D21_Datasheet–07/2014
31.8.7.3  Packet Size
Name:
PCKSIZE
Offset:
0x04 & 0x14
Reset:
0xxxxxxxx
Property:
NA
z
Bit 31– AUTO_ZLP: Automatic Zero Length Packet
This bit defines the automatic Zero Length Packet mode of the pipe.
0: Automatic Zero Length Packet is disabled.
1: Automatic Zero Length Packet is enabled.
When enabled, the USB module will manage the ZLP handshake by hardware. This bit is for OUT pipes only. 
When disabled the handshake should be managed by firmware.
z
Bits 30:28 – SIZE: Pipe size
These bits contains the size of the pipe.
Theses bits are cleared upon sending a USB reset.
Bit
31
30
29
28
27
26
25
24
+3
AUTO_ZLP
SIZE[2:0]
MULTI_PACKET_SIZE[13:10]
Access
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Reset
X
X
X
X
X
X
X
X
Bit
23
22
21
20
19
18
17
16
+2
MULTI_PACKET_SIZE[9:2]
Access
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Reset
X
X
X
X
X
X
X
X
Bit
15
14
13
12
11
10
9
8
+1
MULTI_PACKET_SIZE[1:0]
BYTE-COUNT[13:8]
Access
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Reset
X
X
X
X
X
X
X
X
Bit
7
6
5
4
3
2
1
0
+0
BYTE_COUNT[7:0]
Access
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Reset
X
X
X
X
X
X
X
X