Toshiba TLCS-900/H1 Series Data Book page 201

32bit micro controller
Hide thumbs Also See for TLCS-900/H1 Series:
Table of Contents

Advertisement

 
3.10.3.13 EPx_STATUS register(x: 0-3)
These are status registers for each endpoint. The <SUSPEND> is common for all endpoint.
EP0,1,2,3_STATUS
 
7
bit symbol
-
R/W
-
・TOGGLE Bit (bit6)
      0 : TOGGLE   BIT0
      1 : TOGGLE   BIT1
・SUSPEND (bit5)
      0 : RESUME
      1 : SUSPEND
・ENDPOINT STATUS (bit4-2)
        0:READY
1:DATAIN
        2:FULL
        3:TX_ERR
        4:RX_ERR
        5:BUSY
        6:STALL
(0790H,0791H,0792H,0793H)
6
5
TOGGLE
SUSPEND
STATUS[2]
R
R
shows status of toggle sequence bit.
shows status of power management of USBC.
In the SUSPEND-status, some limitation about accessing to USBC is needed.
For the detail, refer 3.10.9.
shows status of endpoint of USBC.
The status show about available or not transferring or the result
of transferring. These are depend on transfer type.
(For the isochronous transfer type, refer 3.10.6.)
Receiving:
shows available to receive.
For the endpoint 1 to 3, this register is initialized to "READY" by setting
transfer type at SET_CONFIGURATION.
For the endpoint 0, this register is initialized to "READY" by detecting
reset from the host.
This is also initialized to "READY" by terminating without error of the
status-stage.
Transmitting:
Basically, this is same with "Receiving".
But only for transmitting, the "READY" is kept by transmitting data correctly
to the host and received "NAK". In this case, EPx_Empty_A or
EPx_Empty_B interrupt is generated to show terminating transmittion
correctly.
is set with generating EPx_FULL_A or EPx_FULL_B interrupt when the data
is received without error from the host.
Refer 3.10.8 (2) Details for the STATUS register.
is set when an "ACK" is not received after transmitting data responded IN-token
from the host. In this case, an interrupt is not generated. The host will transmitt
IN-token to re-try.
is set without transmitting "ACK" when an error(like CRC-error) is detected
in the data of a received token. In this case, an interrupt is not generated.
The host will transmitt data to re-try.
is used only for the control transfer type and set when a token of status-stage is
received from the host after terminating data-stage.
When the USBC is ready to terminate status-stage, the USBC returns to READY.
shows each endpoint is STALL status.
In this status, the USBC transmits STALL-handshake except for SETUP-token.
In the control endpoint, the USBC returns to READY after received SETUP-token.
4
3
STATUS[1]
STATUS[0] FIFO_DISABLESTAGE_ERR
R
R
92CH21-197
TMP92CH21
2
1
R
R
0
R
 

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tmp92ch21fg

Table of Contents