Atmel SAM4L-EK Atmel ATSAM4L-EK ATSAM4L-EK Data Sheet

Product codes
ATSAM4L-EK
Page of 1204
418
42023E–SAM–07/2013
ATSAM4L8/L4/L2
17.7.3.12
Pipe n Status Register
Register Name:
UPSTAn, n in [0..7]
Access Type:
Read-Only
Offset:
0x0530 + (n * 0x04)
Reset Value:
0x00000000
• CURRBK: Current Bank
For non-control pipe, this field indicates the number of the current bank.
This field may be updated 1 clock cycle after the RWALL bit changes, so the user should not poll this field for an interrupt.
• NBUSYBK: Number of Busy Banks
This field indicates the number of busy bank.
For OUT pipe, this field indicates the number of busy bank(s), filled by the user, ready for OUT transfer. When all banks are 
busy, this triggers an PnINT interrupt if UPCONn.NBUSYBKE is one.
For IN pipe, this field indicates the number of busy bank(s) filled by IN transaction from the Device. When all banks are free, this 
triggers an PnINT interrupt if UPCONn.NBUSYBKE is one.
 
• RAMACERI: Ram Access Error Interrupt
This bit is cleared when the RAMACERIC bit is written to one.
This bit is set when a RAM access underflow error occurs during IN data stage.
31
30
29
28
27
26
25
24
-
-
-
-
-
-
-
-
23
22
21
20
19
18
17
16
-
-
-
-
-
-
-
-
15
14
13
12
11
10
9
8
-
CURRBK
NBUSYBK
-
RAMACERI
DTSEQ
7
6
5
4
3
2
1
0
-
RXSTALLDI/
CRCERRI
ERRORFI
NAKEDI
PERRI
TXSTPI
TXOUTI
RXINI
CURRBK
Current Bank
0
0
Bank0
0
1
Bank1
NBUSYBK
Number of busy bank
0
0
All banks are free.
0
1
1 busy bank
1
0
2 busy banks
1
1
reserved