English
Language : 

38K0 Datasheet, PDF (35/133 Pages) Mitsubishi Electric Semiconductor – SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
38K0 Group
b7
00
b0
USB interrupt source register (USBIREQ) [address 001716]
Bit symbol
Bit name
EP00
USB function/Endpoint 0
interrupt bit
EP01
USB function/Endpoint 1
interrupt bit
EP02
USB function/Endpoint 2
interrupt bit
EP03
USB function/Endpoint 3
interrupt bit
b5:b4
SUS
Not used
Suspend interrupt bit
RSM
Resume interrupt bit
Function
At reset R W
H/W S/W
This bit is set to “1” when any one of EP00 interrupt 0 0 O ✕
source register’s bits at least is set to “1”.
This bit is cleared to “0” by clearing EP00 interrupt
source register to “0016”.
Writing to this bit causes no state change.
This bit is set to “1” when any one of EP01 interrupt 0 0 O ✕
source register’s bits at least is set to “1”.
This bit is cleared to “0” by clearing EP01 interrupt
source register to “0016”.
Writing to this bit causes no state change.
This bit is set to “1” when any one of EP02 interrupt 0 0 O ✕
source register’s bits at least is set to “1”.
This bit is cleared to “0” by clearing EP02 interrupt
source register to “0016”.
Writing to this bit causes no state change.
This bit is set to “1” when any one of EP03 interrupt 0 0 O ✕
source register’s bits at least is set to “1”.
This bit is cleared to “0” by clearing EP03 interrupt
source register to “0016”.
Writing to this bit causes no state change.
Write “0” when writing.
– – OO
“0” is read when reading.
0 : No interrupt request issued
0 0 OO
1 : Interrupt request issued
This bit is set to “1” when detecting 3 ms or more of J-
state, using USB clock (fUSB) at 48 MHz.
“0” can be set by software, but “1” cannot be set.
This bit is set to “1” when the USB bus state changes 0 0 O ✕
from J-state to K-state or SE0 in the resume interrupt
enable bit = “1”. It is also “1” in the condition of internal
clock stopped.
This bit is cleared to “0” by clearing the resume
interrupt enable bit.
Writing to this bit causes no state change.
–: State remaining
Fig.37 Structure of USB interrupt source register
b7
0 00 00 0
b0
Endpoint index register (USBINDEX) [address 001816]
Bit symbol
Bit name
EPIDX [1:0] Endpoint index bit
b7:b3
Not used
Function
b1 b0
0 0 : Endpoint 0
0 1 : Endpoint 1
1 0 : Endpoint 2
1 1 : Endpoint 3
Write “0” when writing.
“0” is read when reading.
Fig. 38 Structure of Endpoint index register
At reset R W
H/W S/W
0 – OO
– – OO
–: State remaining
Rev.3.00 Oct 05, 2006 page 35 of 129
REJ03B0192-0300