AT89C5131A-RDTIM Atmel, AT89C5131A-RDTIM Datasheet - Page 141
![no-image](/images/manufacturer_photos/0/0/78/atmel_sml.jpg)
AT89C5131A-RDTIM
Manufacturer Part Number
AT89C5131A-RDTIM
Description
C5131A 32K FLASH USB VQFP64 IND, 5V
Manufacturer
Atmel
Datasheet
1.AT89C5131A-RDTIM.pdf
(176 pages)
- Current page: 141 of 176
- Download datasheet (3Mb)
Table 96. UEPSTAX (S:CEh) USB Endpoint X Status Register
Reset Value = 00h
4136C–USB–04/05
Bit Number
7
6
5
4
3
2
1
0
DIR
7
Mnemonic
RXOUTB1
RXSETUP
RXOUTB0
STALLRQ
TXCMPL
STLCRC
TXRDY
Bit
DIR
RXOUTB1
6
Description
Control Endpoint Direction
This bit is used only if the endpoint is configured in the control type (seeSection “UEPCONX Register UEPCONX (S:D4h)
USB Endpoint X Control Register”).
This bit determines the Control data and status direction.
The device firmware will set this bit ONLY for the IN data stage, before any other USB operation. Otherwise, the device
firmware will clear this bit.
Received OUT Data Bank 1 for Endpoints 4, 5 and 6 (Ping-pong mode)
This bit is set by hardware after a new packet has been stored in the endpoint FIFO data bank 1 (only in Ping-pong mode).
Then, the endpoint interrupt is triggered if enabled (see“UEPINT Register UEPINT (S:F8h read-only) USB Endpoint
Interrupt Register” on page 143) and all the following OUT packets to the endpoint bank 1 are rejected (NAK’ed) until this
bit has been cleared, excepted for Isochronous Endpoints.
This bit will be cleared by the device firmware after reading the OUT data from the endpoint FIFO.
Stall Handshake Request
Set this bit to request a STALL answer to the host for the next handshake.Clear this bit otherwise.
For CONTROL endpoints: cleared by hardware when a valid SETUP PID is received.
TX Packet Ready
Set this bit after a packet has been written into the endpoint FIFO for IN data transfers. Data will be written into the
endpoint FIFO only after this bit has been cleared. Set this bit without writing data to the endpoint FIFO to send a Zero
Length Packet.
This bit is cleared by hardware, as soon as the packet has been sent for Isochronous endpoints, or after the host has
acknowledged the packet for Control, Bulk and Interrupt endpoints. When this bit is cleared, the endpoint interrupt is
triggered if enabled (see“UEPINT Register UEPINT (S:F8h read-only) USB Endpoint Interrupt Register” on page 143).
Stall Sent/CRC error flag
- For Control, Bulk and Interrupt Endpoints:
This bit is set by hardware after a STALL handshake has been sent as requested by STALLRQ. Then, the endpoint
interrupt is triggered if enabled (see“UEPINT Register UEPINT (S:F8h read-only) USB Endpoint Interrupt Register” on
page 143)
It will be cleared by the device firmware.
- For Isochronous Endpoints (Read-Only):
This bit is set by hardware if the last received data is corrupted (CRC error on data).
This bit is updated by hardware when a new data is received.
Received SETUP
This bit is set by hardware when a valid SETUP packet has been received from the host. Then, all the other bits of the
register are cleared by hardware and the endpoint interrupt is triggered if enabled (see“UEPINT Register UEPINT (S:F8h
read-only) USB Endpoint Interrupt Register” on page 143).
It will be cleared by the device firmware after reading the SETUP data from the endpoint FIFO.
Received OUT Data Bank 0 (see also RXOUTB1 bit for Ping-pong Endpoints)
This bit is set by hardware after a new packet has been stored in the endpoint FIFO data bank 0. Then, the endpoint
interrupt is triggered if enabled (see“UEPINT Register UEPINT (S:F8h read-only) USB Endpoint Interrupt Register” on
page 143) and all the following OUT packets to the endpoint bank 0 are rejected (NAK’ed) until this bit has been cleared,
excepted for Isochronous Endpoints. However, for control endpoints, an early SETUP transaction may overwrite the
content of the endpoint FIFO, even if its Data packet is received while this bit is set.
This bit will be cleared by the device firmware after reading the OUT data from the endpoint FIFO.
Transmitted IN Data Complete
This bit is set by hardware after an IN packet has been transmitted for Isochronous endpoints and after it has been
accepted (ACK’ed) by the host for Control, Bulk and Interrupt endpoints. Then, the endpoint interrupt is triggered if
enabled (see“UEPINT Register UEPINT (S:F8h read-only) USB Endpoint Interrupt Register” on page 143).
This bit will be cleared by the device firmware before setting TXRDY.
STALLRQ
5
TXRDY
4
STL/CRC
3
RXSETUP
2
RXOUTB0
1
AT89C5131
TXCMP
0
139
Related parts for AT89C5131A-RDTIM
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![AT89C5131A-L](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
Manufacturer:
Atmel Corporation
Datasheet:
![AT89C5131A-M](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
Manufacturer:
Atmel Corporation
Datasheet:
![AT89C5131A-PUTUM](/photos/12/13/121309/313-32-qfn_tmb.jpg)
Part Number:
Description:
IC 8051 MCU FLASH 32K USB 32QFN
Manufacturer:
Atmel
Datasheet:
![AT89C5131A-S3SUM](/photos/12/13/121324/453-52-plcc_tmb.jpg)
Part Number:
Description:
IC 8051 MCU FLASH 32K USB 52PLCC
Manufacturer:
Atmel
Datasheet:
![AT89C5131A-PLTUL](/photos/7/34/73471/48-vqfn-6_543-5130_01-4_tmb.jpg)
Part Number:
Description:
IC MCU 32KB 3-3.6V USB 48-VQFN
Manufacturer:
Atmel
Datasheet:
![AT89C5131A-TIRUL](/photos/6/82/68295/453-28-soic_tmb.jpg)
Part Number:
Description:
MCU 8051 32K FLASH USB 28-SOIC
Manufacturer:
Atmel
Datasheet:
![AT89C5131A-RDTUM](/photos/6/81/68127/313-64-vqfp_tmb.jpg)
Part Number:
Description:
IC 8051 MCU FLASH 32K USB 64VQFP
Manufacturer:
Atmel
Datasheet:
![AT89C5131A-RDTUL](/photos/6/81/68127/313-64-vqfp_tmb.jpg)
Part Number:
Description:
MCU 8051 32K FLASH USB 64-VQFP
Manufacturer:
Atmel
Datasheet:
![AT89C5131A-TISUL](/photos/6/82/68295/453-28-soic_tmb.jpg)
Part Number:
Description:
MCU 8051 32K FLASH USB 28-SOIC
Manufacturer:
Atmel
Datasheet:
![AT89C5131A-S3SUL](/photos/12/13/121324/453-52-plcc_tmb.jpg)
Part Number:
Description:
MCU 8051 32K FLASH USB 52-PLCC
Manufacturer:
Atmel
Datasheet:
![AT89C5131A-PLTIL](/photos/7/34/73471/48-vqfn-6_543-5130_01-4_tmb.jpg)
Part Number:
Description:
IC 8051 MCU FLASH 32K USB 48QFN
Manufacturer:
Atmel
Datasheet:
![AT89C5131A-RDTIL](/photos/6/81/68127/313-64-vqfp_tmb.jpg)
Part Number:
Description:
IC 8051 MCU FLASH 32K USB 64VQFP
Manufacturer:
Atmel
Datasheet:
![AT89C5131A-PUTIM](/photos/12/13/121309/313-32-qfn_tmb.jpg)
Part Number:
Description:
IC 8051 MCU FLASH 32K USB 32QFN
Manufacturer:
Atmel
Datasheet:
![AT89C5131A-S3SIM](/photos/12/13/121324/453-52-plcc_tmb.jpg)
Part Number:
Description:
IC 8051 MCU FLASH 32K USB 52PLCC
Manufacturer:
Atmel
Datasheet: