at91rm3400 ATMEL Corporation, at91rm3400 Datasheet - Page 426

no-image

at91rm3400

Manufacturer Part Number
at91rm3400
Description
Atmel Advanced At91 Arm Microcontroller
Manufacturer
ATMEL Corporation
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
at91rm3400-AU-002
Manufacturer:
Atmel
Quantity:
10 000
USB Endpoint Control and Status Register
Register Name:
Access Type:
• TXCOMP: Generates an IN packet with data previously written in the DPR
This flag generates an interrupt while it is set to one.
Write (Cleared by the firmware)
0 = Clear the flag, clear the interrupt.
1 = No effect.
Read (Set by the USB peripheral)
0 = Data IN transaction has not been acknowledged by the Host.
1 = Data IN transaction is achieved, acknowledged by the Host.
After having issued a Data IN transaction setting TXPKTRDY, the device firmware waits for TXCOMP to be sure that the
host has acknowledged the transaction.
• RX_DATA_BK0: Receive Data Bank 0
This flag generates an interrupt while it is set to one.
Write (Cleared by the firmware)
0 = Notify USB peripheral device that data have been read in the FIFO's Bank 0.
1 = No effect.
Read (Set by the USB peripheral)
0 = No data packet has been received in the FIFO's Bank 0
1 = A data packet has been received, it has been stored in the FIFO's Bank 0.
When the device firmware has polled this bit or has been interrupted by this signal, it must transfer data from the FIFO to
the microcontroller memory. The number of bytes received is available in RXBYTCENT field. Bank 0 FIFO values are read
through the USB_FDRx register. Once a transfer is done, the device firmware must release Bank 0 to the USB peripheral
device by clearing RX_DATA_BK0.
• RXSETUP: Sends STALL to the Host (Control endpoints)
This flag generates an interrupt while it is set to one.
Read
0 = No setup packet available.
1 = A setup data packet has been sent by the host and is available in the FIFO.
Write
0 = Device firmware notifies the USB peripheral device that it has read the setup data in the FIFO.
426
EPEDS
DIR
31
23
15
7
AT91RM3400
RX_DATA_
BK1
30
22
14
USB_CSRx [x = 0. 7]
Read/Write
6
FORCE
STALL
29
21
13
5
TXPKTRDY
28
20
12
4
RXBYTECNT
STALLSENT
ISOERROR
DTGLE
27
19
11
3
RXSETUP
26
18
10
2
RXBYTECNT
RX_DATA_
EPTYPE
BK0
25
17
9
1
1790A–ATARM–11/03
TXCOMP
24
16
8
0

Related parts for at91rm3400