SAM3X8E Atmel Corporation, SAM3X8E Datasheet - Page 1181

no-image

SAM3X8E

Manufacturer Part Number
SAM3X8E
Description
Manufacturer
Atmel Corporation
Datasheets
39.6.3.14
Name:
Address:
Access:
• PBYCT: Pipe Byte Count
This field contains the byte count of the FIFO.
For OUT pipe, incremented after each byte written by the user into the pipe and decremented after each byte sent to the
peripheral.
For IN pipe, incremented after each byte received from the peripheral and decremented after each byte read by the user
from the pipe.
This field may be updated 1 clock cycle after the RWALL bit changes, so the user should not poll this field as an interrupt
bit.
• CFGOK: Configuration OK Status
This bit is set/cleared when the UOTGHS_HSTPIPCFGx.ALLOC bit is set.
This bit is set if the pipe x number of banks (UOTGHS_HSTPIPCFGx.PBK) and size (UOTGHS_HSTPIPCFGx.PSIZE) are
correct compared to the maximal allowed number of banks and size for this pipe and to the maximal FIFO size (i.e., the
DPRAM size).
If this bit is cleared, the user should rewrite correct values of the PBK and PSIZE field in the UOTGHS_HSTPIPCFGx
register.
• RWALL: Read-write Allowed
For OUT pipe, this bit is set when the current bank is not full, i.e., the software can write further data into the FIFO.
For IN pipe, this bit is set when the current bank is not empty, i.e., the software can read further data from the FIFO.
This bit is cleared otherwise.
This bit is also cleared when the RXSTALLDI or the PERRI bit is one.
11057A–ATARM–17-Feb-12
11057A–ATARM–17-Feb-12
SHORTPACKETI
31
23
15
7
CURRBK
Host Pipe x Status Register
UOTGHS_HSTPIPISRx [x=0..9]
0x400AC530
Read-only
RXSTALLDI/
CRCERRI
30
22
14
6
PBYCT
OVERFI
29
21
13
5
NBUSYBK
NAKEDI
28
20
12
4
PBYCT
PERRI
27
19
11
3
UNDERFI
TXSTPI/
CFGOK
26
18
10
2
TXOUTI
25
17
9
1
DTSEQ
SAM3X/A
SAM3X/A
RWALL
RXINI
24
16
8
0
1181
1181

Related parts for SAM3X8E