R01UH0823EJ0100 Rev.1.00
Page 875 of 1823
Jul 31, 2019
RX23W Group
32. USB 2.0 Host/Function Module (USBc)
32.2.13
Interrupt Status Register 0 (INTSTS0)
x: Don’t care
Note 1. The value is 0 when the MCU is reset and 1 after a USB bus reset.
Note 2. The value is 1 when the USB0_VBUS pin is high and 0 when the USB0_VBUS pin is low.
Note 3. The value is 000b when the MCU is reset and 001b after a USB bus reset.
Note 4. To clear the VBINT, RESM, SOFR, DVST, CTRT, or VALID flag, write 0 only to the flags to be cleared; write 1 to the other flags.
Do not write 0 to the status flags indicating 0.
Note 5. The status of the RESM, DVST, and CTRT flags are changed only when the function controller is selected. Set the
corresponding interrupt enable bits to 0 (disabled) when the host controller is selected.
Note 6. A change in the status indicated by the VBINT and RESM flags can be detected even while the clock supply is stopped (the
SCKE bit = 0), and the interrupts are output when the corresponding interrupt enable bits are enabled. Clearing the status
through software should be done after enabling the clock supply.
Address(es): 000A 0040h
b15
b14
b13
b12
b11
b10
b9
b8
b7
b6
b5
b4
b3
b2
b1
b0
VBINT RESM SOFR
DVST
CTRT BEMP NRDY BRDY VBSTS
DVSQ[2:0]
VALID
CTSQ[2:0]
Value after reset:
0
0
0
0/1*
0
0
0
0
0/1*
0
0
0
0
Bit
Symbol
Bit Name
Description
R/W
b2 to b0
Control Transfer Stage Flag
b2 b0
0 0 0: Idle or setup stage
0 0 1: Control read data stage
0 1 0: Control read status stage
0 1 1: Control write data stage
1 0 0: Control write status stage
1 0 1: Control write (no data) status stage
1 1 0: Control transfer sequence error
R
b3
USB Request Reception Flag
0: Setup packet is not received.
1: Setup packet is received.
R/W
b6 to b4
Device State Flag
b6 b4
0 0 0: Powered state
0 0 1: Default state
0 1 0: Address state
0 1 1: Configured state
1 x x: Suspended state
R
b7
VBUS Input Status Flag
0: USB0_VBUS pin is low.
1: USB0_VBUS pin is high.
R
b8
Buffer Ready Interrupt Status
Flag
0: BRDY interrupts are not generated.
1: BRDY interrupts are generated.
R
b9
Buffer Not Ready Interrupt
Status Flag
0: NRDY interrupts are not generated.
1: NRDY interrupts are generated.
R
b10
Buffer Empty Interrupt Status
Flag
0: BEMP interrupts are not generated.
1: BEMP interrupts are generated.
R
b11
Control Transfer Stage
Transition Interrupt Status
Flag*
0: Control transfer stage transition interrupts are not generated.
1: Control transfer stage transition interrupts are generated.
b12
Device State Transition
Interrupt Status Flag*
0: Device state transition interrupts are not generated.
1: Device state transition interrupts are generated.
b13
Frame Number Refresh
Interrupt Status Flag
0: SOF interrupts are not generated.
1: SOF interrupts are generated.
b14
Resume Interrupt Status Flag
*
0: Resume interrupts are not generated.
1: Resume interrupts are generated.
b15
VBUS Interrupt Status Flag*
0: VBUS interrupts are not generated.
1: VBUS interrupts are generated.