![](http://datasheet.mmic.net.cn/30000/M30245MC-XXXGP_datasheet_2358670/M30245MC-XXXGP_93.png)
M30245 Group
Universal Serial Bus
Rev.2.00
Oct 16, 2006
page 91 of 264
REJ03B0005-0200
INxCSR6 (FLUSH):
The CPU writes a "1" to this bit to flush the IN buffer.
When there is one data set in the IN buffer, a flush causes the IN buffer to be empty.
When there are two data sets in the IN buffer, a flush causes the older data set to be flushed out from the IN buffer.
The USB FCU updates the buffer status bits the same way as a data set is transmitted to the host when it sees a
FLUSH. Setting the FLUSH bit during transmission could produce unpredictable results.
INxCSR7 (INTPT):
The CPU writes a "1" to this bit to initialize the endpoint as a rate feedback interrupt endpoint.
INxCSR8 (ISO):
The CPU writes a "1" to this bit to set the endpoint as an isochronous data transfer endpoint.
INxCSR9 (SEND_STALL):
The CPU writes a "1" to this bit when the endpoint is stalled (transmitter halt). The USB FCU returns STALL handshakes
while this bit is set. The CPU writes a "0" to clear this bit, If the STALL condition no longer exists.
INxCSR10 (AUTO_SET):
The CPU writes a "1" to this bit to enable the AUTO_SET function. AUTO_SET takes place only when a data packet that
is equal to MAXP (or data set that is equal to BUF_SIZ, in continuous mode) is loaded to the buffer. See "IN (Transmit)
FIFO" operation for details.
Figure 1.58. USB Endpoint x IN Control & Status register (EPxICS)
Bit Symbol
Bit Name
Function
R W
Symbol
EPxICS (x = 1 - 4)
Address
029E
16, 02A416,
02AA
16, 02B016
When reset
0003
16
USB Endpoint x IN Control and Status register
b7
(b15)
(b8)
b0
INxCSR0
INxCSR1
INxCSR2
INxCSR3
INxCSR4
INxCSR5
INxCSR6
INxCSR7
INxCSR8
INxCSR9
INxCSR10
Reserved
b7
b0
IN_BUF_STS0 flag
IN_BUF_STS1 flag
UNDER-RUN flag
SET_IN_BUF_RDY
CLR_UNDER_RUN
TOGGLE_INT
FLUSH
INTPT
ISO
SEND_STALL
AUTO_SET
O X
0
O O
O X
O O
These two bits indicate the EPx IN buffer status
Bit1
Bit0
0
0 : No data set in the IN buffer
0
1 : Single buffer mode: N/A
Double buffer mode: one data set in the IN buffer
1
0 : Single buffer mode: N/A
Double buffer mode: N/A
1
1 : Single buffer mode: one data set in the IN buffer
Double buffer mode: two data sets in the IN buffer
0 : No underrun detected
1 : Underrun detected
0 : No action
1 : Data set loaded to the IN buffer (updates IN buffer status flags)
0 : No action
1 : Clears UNDER_RUN flag
0 : No action
1 : Initialize the next data PID as a DATA0 for transmission
0 : No action
1 : Flush out one data set
0 : Select non-rate feedback interrupt transfer
1 : Select rate feedback interrupt transfer
0 : Select non-isochronous endpoint
1 : Select isochronous endpoint
0 : No STALL by CPU
1 : STALL by CPU
0 : AUTO_SET disabled
1 : AUTO_SET enabled
Must always be set to "0"
Note
Note: Always read a "0"
0 0 00
O X