English
Language : 

SAM4L Datasheet, PDF (410/1185 Pages) ATMEL Corporation – ATSAM ARM-based Flash MCU
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
ATSAM4L4/L2
31
30
29
28
27
26
25
24
BINTERVAL
23
22
21
20
19
18
17
16
-
-
-
-
-
-
-
-
15
14
13
12
11
10
-
-
PTYPE
-
-
9
8
PTOKEN
7
6
5
4
3
2
1
0
-
PSIZE
-
PBK
-
-
• 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.
PTYPE
0
0
0
1
1
0
1
1
Pipe Type
Control
Isochronous
Bulk
Interrupt
• PTOKEN: Pipe Token
This field contains the endpoint token.
PTOKEN
00
01
10
11
Endpoint Direction
SETUP
IN
OUT
reserved
42023C–SAM–02/2013
410