English
Language : 

SAM4L Datasheet, PDF (390/1185 Pages) ATMEL Corporation – ATSAM ARM-based Flash MCU
17.7.2.11 Endpoint n Status Register
Register Name:
UESTAn, n in [0..7]
Access Type:
Read-Only 0x0100
Offset:
0x0130 + (n * 0x04)
Reset Value:
0x00000000
ATSAM4L4/L2
31
30
29
28
27
26
25
24
-
-
-
-
-
-
-
-
23
22
21
20
19
18
17
16
-
-
-
-
-
-
CTRLDIR
-
15
14
CURRBK
13
12
11
10
NBUSYBK
RAMACERI
-
9
8
DTSEQ
7
6
5
-
STALLEDI/
CRCERRI
-
4
NAKINI
3
NAKOUTI
2
RXSTPI/
ERRORFI
1
RXOUTI
0
TXINI
• CTRLDIR: Control Direction
Writing a zero or a one to this bit has no effect.
This bit is cleared after a SETUP packet to indicate that the following packet is an OUT packet.
This bit is set after a SETUP packet to indicate that the following packet is an IN packet.
• CURRBK: Current Bank
This bit is set for non-control endpoints, indicating the current bank:
CURRBK
0
0
0
1
1
0
1
1
Current Bank
Bank0
Bank1
Reserved
Reserved
This field may be updated one clock cycle after the RWALL bit changes, so the user should not poll this field as an interrupt bit.
• NBUSYBK: Number of Busy Banks
This field is set to indicate the number of busy banks:
NBUSYBK
0
0
0
1
1
0
1
1
Number of Busy Banks
0 (all banks free)
1
2
Reserved
42023C–SAM–02/2013
390