Data Sheet

805
Atmel | SMART SAM D21 [DATASHEET]
Atmel-42181G–SAM-D21_Datasheet–09/2015
31.8.4.3 Packet Size
Name:
PCKSIZE
Offset: 0x04 & 0x14
Reset: 0xxxxxxxxx
Property: NA
z Bit 31 – AUTO_ZLP: Automatic Zero Length Packet
This bit defines the automatic Zero Length Packet mode of the endpoint.
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 IN endpoints only.
When disabled the handshake should be managed by firmware.
z Bits 30:28 – SIZE: Endpoint size
These bits contains the maximum packet size of the endpoint.
Bit3130292827262524
+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
ResetXXXXXXXX
Bit2322212019181716
+2
MULTI_PACKET_SIZE[9:2]
Access R/W R/W R/W R/W R/W R/W R/W R/W
ResetXXXXXXXX
Bit151413121110 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
ResetXXXXXXXX
Bit76543210
+0
BYTE_COUNT[7:0]
Access R/W R/W R/W R/W R/W R/W R/W R/W
ResetXXXXXXXX