M30245_06 RENESAS [Renesas Technology Corp], M30245_06 Datasheet - Page 182

no-image

M30245_06

Manufacturer Part Number
M30245_06
Description
RENESAS 16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY / M16C/20 SERIES
Manufacturer
RENESAS [Renesas Technology Corp]
Datasheet
M30245 Group
Rev.2.00 Oct 16, 2006
REJ09B0340-0200
Figure 2.8.32. USB endpoint 0 control and status register
USB Endpoint 0 Control and Status register
(b15)
0 0
b7
(b8)
b0
page 173 of 354
b7
b0
Note: Always read a
Reserved
Bit Symbol
EP0CSR0
EP0CSR1
EP0CSR2
EP0CSR3
EP0CSR4
EP0CSR5
EP0CSR6
EP0CSR7
EP0CSR8
EP0CSR9
EP0CSR10
EP0CSR11
EP0CSR12
EP0CSR13
Symbol
EP0CS
OUT_BUF_RDY flag
IN_BUF_RDY flag
SETUP flag
DATA_END flag
FORCE_STALL flag
SETUP_END flag
CLR_OUT_BUF_RDY
SET_IN_BUF_RDY
CLR_SETUP
SET_DATA_END
CLR_FORCE_STALL
CLR_SETUP_END
SEND_STALL
DATA_END_MASK
“0”.
Bit Name
Address
0298
0 : Clearing DATA_END event causing EP0 interrupt is
1 : Clearing DATA_END event causing EP0 interrupt is
Must always be “0”
0 : No setup packet or data set ready for unload
1 : Setup packet or data set ready for unload
0 : No data set ready for transmit
1 : Data set ready for transmi
0 : No setup packet ready for unload
1 : Data set ready for transmit
0 : DATA_END not set by CPU or DATA-END is set by CPU
1 : DATA-END set by CPU
0 : No protocol violation detected
1 : Protocol violation detected
0 : No premature completion of control transfer
1 : Premature completion of control transfer
0 : No action
1 : Data set unloaded from the OUT buffer
0 : No action
1 : Data set loaded in IN buffer (sets IN_BUF_RDY flag)
0 : No action
1 : Clears SETUP flag
0 : No action
1 : Last data pcket transferred to/from buffer
0 : No action
1 : Clears FORCE_STALL flag
0 : No action
1 : Clears SETUP_END flag
0 : No EP0 STALL by CPU
1 : EP0 STALL by CPU
16
unmasked
masked
then status phase starts
Function
When reset
t
2000
16
2. USB function
R W
O O
O O
O O
O X
O X
O X
O X
O X
O X
O O
O O
O O
O O
O O
O O
Note
Note
Note
Note
Note
Note

Related parts for M30245_06