How-To Guide

Table Of Contents
R01UH0823EJ0110 Rev.1.10 Page 885 of 1852
Nov 30, 2020
RX23W Group 32. USB 2.0 Host/Function Module (USBc)
DVST Flag (Device State Transition Interrupt Status Flag)
When the function controller is selected, the USB updates the DVSQ[2:0] value and sets the DVST flag to 1 on detecting
a change in the device state.
When a device state transition interrupt is generated, clear the status before the USB detects the next device state
transition.
When the host controller is selected, the read value is invalid.
SOFR Flag (Frame Number Refresh Interrupt Status Flag)
(1) When the host controller is selected
The USB sets the SOFR flag to 1 on updating the frame number when the DVSTCTR0.UACT bit has been set to 1 by
software. (A frame number refresh interrupt is detected every 1 ms.)
(2) When the function controller is selected
The USB sets the SOFR flag to 1 on updating the frame number. (A frame number refresh interrupt is detected every
1ms.)
The USB can detect an SOFR interrupt through the internal interpolation function even when a damaged SOF packet is
received from the USB host.
RESM Flag (Resume Interrupt Status Flag)
When the function controller is selected, the USB sets the RESM flag to 1 on detecting the falling edge of the signal on
the USB0_DP pin in the suspended state (DVSQ[2:0] = 1xxb).
When the host controller is selected, the read value is invalid.
VBINT Flag (VBUS Interrupt Status Flag)
The USB sets the VBINT flag to 1 on detecting a level change (high to low or low to high) in the USB0_VBUS pin input
value. The USB sets the VBSTS flag to indicate the USB0_VBUS pin input value. When the VBUS interrupt is
generated, use software to repeat reading the VBSTS flag until the same value is read three or more times, and eliminate
chattering.