Data Sheet
837
Atmel | SMART SAM D21 [DATASHEET]
Atmel-42181G–SAM-D21_Datasheet–09/2015
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.
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