|
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
|
▷ |