Datasheet
416
42023E–SAM–07/2013
ATSAM4L8/L4/L2
17.7.3.11 Pipe n Configuration Register
Register Name: UPCFGn, n in [0..7]
Access Type: Read/Write
Offset: 0x0500 + (n * 0x04)
Reset Value: 0x00000000
• BINTERVAL: bInterval parameter
This field corresponds to the bus access period of the pipe.
For Interrupt pipe, this field corresponds to the desired period from 1 ms to 255 ms.
For isochronous pipe, this field corresponds to the desired period calculated as this: 2
(BInterval)
* 1 ms.
For bulk or control pipe, this field corresponds to the desired period from 1 ms to 255 ms.
This field is cleared upon sending a USB reset.
• PTYPE: Pipe Type
This field contains the pipe type.
This field is cleared upon sending a USB reset.
• PTOKEN: Pipe Token
This field contains the endpoint token.
31 30 29 28 27 26 25 24
BINTERVAL
23 22 21 20 19 18 17 16
--------
15 14 13 12 11 10 9 8
- - PTYPE - - PTOKEN
76543210
- PSIZE -
PBK
--
PTYPE Pipe Type
0 0 Control
0 1 Isochronous
10Bulk
1 1 Interrupt
PTOKEN Endpoint Direction
00 SETUP
01 IN
10 OUT
11 reserved