39.8.4.3. Packet Size
Name:
PCKSIZE
Offset:
0x04 & 0x14
Reset:
0xxxxxxxxx
Property:
NA
Bit
31
30
29
28
27
26
25
24
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
0
0
x
0
0
0
0
Bit
23
22
21
20
19
18
17
16
MULTI_PACKET_SIZE[9:2]
Access
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Reset
0
0
0
0
0
0
0
0
Bit
15
14
13
12
11
10
9
8
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
0
x
0
0
0
0
0
0
Bit
7
6
5
4
3
2
1
0
BYTE_COUNT[7:0]
Access
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Reset
0
0
0
0
0
0
0
x
Bit 31 – AUTO_ZLP: Automatic Zero Length Packet
This bit defines the automatic Zero Length Packet mode of the endpoint.
When enabled, the USB module will manage the ZLP handshake by hardware. This bit is for IN endpoints
only. When disabled the handshake should be managed by firmware.
Value
Description
0
Automatic Zero Length Packet is disabled.
1
Automatic Zero Length Packet is enabled.
Bits 30:28 – SIZE[2:0]: Endpoint size
These bits contains the maximum packet size of the endpoint.
Value
Description
0x0
8 Byte
0x1
16 Byte
0x2
32 Byte
0x3
64 Byte
0x4
128 Byte
0x5
256 Byte
Atmel SAM L22G / L22J / L22N [DATASHEET]
Atmel-42402E-SAM L22G / L22J / L22N_Datasheet_Complete-07/2016
966