![](http://datasheet.mmic.net.cn/130000/ML60852A_datasheet_5009261/ML60852A_63.png)
FEDL60852A-03
1Semiconductor
ML60852A
62/81
EP1, 2, 4, 5 Status Registers (EP1, 2, 4, 5STAT)
Address
0 x 61, 62, 64, 65
Type
Bit map
Access type
See below
D7
D6
D5
D4
D3
D2
D1
D0
After a hardware reset
0
0000
00
After a bus reset
0
0000
00
Definition
00
0000
This register is valid only when the corresponding EP has been set for bulk or interrupt transfer.
EP1,2,4,5 Receive packet ready bit (D0): This bit can be read by the local MCU. Also, this bit can be made “0” by
writing a “1” into bit D0. The asserting and de-asserting conditions of
this bit are as given below. The FIFOs of EP1, EP2, EP4, and EP5 have
a 2-layer structure and also there are independent packet ready bits for
layer A and layer B. The switching between these two layers is done
automatically by the ML60852A.
Bit name
Asserting condition
Operation when asserted
EPn Receive packet ready (D0)
When an error-free packet is received
in either layer A or layer B.
The local MCU can read the EP1
Receive FIFO. EP1 is locked in the
condition in which data packets have
been received by both layer A and
layer B.
Bit name
De-asserting condition
Operation when de-asserted
EPn Receive packet ready (D0)
When the local MCU has reset
(written a “1” in) the bits of both layer
A and layer B.
Reception can be made by EP1 when
the bit of either layer A or layer B has
been reset.
EP1,2,4,5 Transmit packet ready bit (D1): This bit can be read by the local MCU. Also, this bit can be made “1” by
writing a “1” into bit D1. The asserting and de-asserting conditions of
this bit are as given below. The FIFO of EP1 has a 2-layer structure and
also there are independent packet ready bits for layer A and layer B. The
switching between these two layers is done automatically by the
ML60852A.
Bit name
Asserting condition
Operation when asserted
EPn Transmit packet ready (D1) (1)When the local MCU has set the
bits of both layer A and layer B.
(2)When the local MCU has set the
bits of either layer A or layer B.
Transmission can be made from EP1
when either layer A or layer B has
been asserted.
Bit name
De-asserting condition
Operation when de-asserted
EPn Transmit packet ready (D1) When an ACK message is received
from the host for the data transmission
to either layer A or layer B.
EP1 is locked when transmit data has
not been prepared for both layer A
and layer B.
EP Receive packet
ready (Read/Reset)
EP Transmit packet ready
(Read/Set)