Renesas M16C Series User Manual page 194

16-bit single-chip microcomputer
Hide thumbs Also See for M16C Series:
Table of Contents

Advertisement

M30245 Group
USB Endpoint x OUT Control and Status register
(b15)
b7
0
0
www.DataSheet4U.com
Figure 2.8.40. USB endpoint x(x=1 to 4) OUT control and status register
Rev.2.00 Oct 16, 2006
REJ09B0340-0200
(b8)
b0
b7
b0
Bit Symbol
OUTxCSR0
OUTxCSR1
OUTxCSR2
OUTxCSR3
OUTxCSR4
OUTxCSR5
OUTxCSR6
OUTxCSR7
OUTxCSR8
OUTxCSR9
OUTxCSR10
OUTxCSR11
OUTxCSR12
OUTxCSR13
Reserved
Note: Always read a "0" when writing to this bit.
page 185 of 354
Address
Symbol
02B6
, 02BE
,
16
16
EPxOCS (x = 1 - 4)
02C6
, 02CE
16
16
Bit Name
These two bits indicate the EPx OUT buffer status:
OUT_BUF_STS0 flag
Bit1
Bit0
0
0 : No data set in the OUT buffer
OUT_BUF_STS1 flag
0
1 : Single buffer mode: N/A
Double buffer mode: N/A
1
0 : Single buffer mode: N/A
Double buffer mode: one data set in the OUT buffer
1
1 : Single buffer mode: one data set in the OUT buffer
Double buffer mode: two data sets in the OUT buffer
OVER-RUN flag
0 : No over run detected
1 : Over run detected
FORCE_STALL flag
0 : No packet size larger than MAXP violation detected
1 : Packet size larger than MAXP violation detected
DATA_ERR flag
0 : No data error detected
1 : Data error detected
0 : No action
CLR_OUT_BUF_RDY
1 : Data set unloaded from the OUT buffer (updates status flags)
0 : No action
CLR_OVER_RUN
1 : Clears OVER_RUN flag
0 : No action
CLR_FORCE_STALL
1 : Clears FORCE_STALL flag
0 : No action
CLR_DATA_ERR
1 : Clears DATA_ERR flag
0 : No action
TOGGLE_INIT
1 : Initialize the next data PID as a DATA0 for reception
0 : No action
FLUSH
1 : Flush out one data set
0 : Select non-isochronous endpoint
1 : Select isochronous endpoint
ISO
0 : No STALL by CPU
SEND_STALL
1 : STALL by CPU
0 : AUTO_CLR disabled
AUTO_CLR
1 : AUTO_CLR enabled
Must always be set to "0"
2. USB function
When reset
0000
16
Function
R W
O X
O X
O X
O X
O X
O O
Note
O O
Note
O O
Note
O O
Note
O O
Note
O O
Note
O O
O O
O O
O O

Advertisement

Table of Contents
loading

Table of Contents