English
Language : 

38K0 Datasheet, PDF (40/133 Pages) Mitsubishi Electric Semiconductor – SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
38K0 Group
b7
b0
0 0 00 0 0 0
EP01 control register 2 (EP01CON2) [address 001B16]
Bit symbol
Bit name
B0VAL01 Buffer 0 enable bit
b7:b1
Not used
Fig. 48 Structure of EP01 control register 2
Function
At reset
RW
H/W S/W
When the selected endpoint is IN, writing “1” to this bit 0 – O O
makes the transmitting data a set state (SIE is possible
to read).
When the selected endpoint is OUT, writing “1” to this
bit makes data reception possible (SIE is possible to
write).
Write “0” when writing.
– – OO
“0” is read when reading.
–: State remaining
b7
b0
0 0 0 0 0 0 0 EP01 control register 3 (EP01CON3) [address 001C16]
Bit symbol
Bit name
B1VAL01 Buffer 1 enable bit
b7:b1
Not used
Fig. 49 Structure of EP01 control register 3
Function
At reset R W
H/W S/W
When the selected endpoint is IN, writing “1” to this bit 0 – O O
makes the transmitting data a set state (SIE is possible
to read).
When the selected endpoint is OUT, writing “1” to this
bit makes data reception possible (SIE is possible to
write).
In double buffer mode this bit is valid.
Write “0” when writing.
– – OO
“0” is read when reading.
–: State remaining
b7
0000 0
b0
EP01 interrupt source register (EP01REQ) [address 001D16]
Bit symbol
B0RDY01
B1RDY01
ERR01
b7:b3
Bit name
USB function/Endpoint 1 buffer 0
ready interrupt bit
USB function/Endpoint 1 buffer 1
ready interrupt bit
USB function/Endpoint 1 error
interrupt bit
Not used
Function
At reset R W
H/W S/W
0: No interrupt request issued
0 0 OO
1: Interrupt request issued
This bit is set to “1” when the buffer 0 is ready state
(enabled to be read/written) on USB function/Endpoint 1.
“0” can be set by software, but “1” cannot be set.
0: No interrupt request issued
0 0 OO
1: Interrupt request issued
In single buffer mode this bit is invalid.
This bit is set to “1” when the buffer 1 is ready state
(enabled to be read/written) on USB function/Endpoint 1
in double buffer mode.
“0” can be set by software, but “1” cannot be set.
0: No interrupt request issued
0 0 OO
1: Interrupt request issued
This bit is set to “1” when STALL response occurs on
USB function/Endpoint 1.
“0” can be set by software, but “1” cannot be set.
Write “0” when writing.
– – OO
“0” is read when reading.
Fig. 50 Structure of EP01 interrupt source register
Rev.3.00 Oct 05, 2006 page 40 of 129
REJ03B0192-0300