R01UH0823EJ0100 Rev.1.00
Page 876 of 1823
Jul 31, 2019
RX23W Group
32. USB 2.0 Host/Function Module (USBc)
CTSQ[2:0] Flags (Control Transfer Stage Flag)
When the host controller is selected, the read value is invalid.
VALID Flag (USB Request Reception Flag)
When the host controller is selected, the read value is invalid.
DVSQ[2:0] Flags (Device State Flag)
The DVSQ[2:0] flags are initialized by a USB bus reset.
When the host controller is selected, the read value is invalid.
BRDY Flag (Buffer Ready Interrupt Status Flag)
Indicates the BRDY interrupt status.
The USB sets the BRDY flag to 1 when at least one PIPEnBRDY flag (n = 0 to 9) is set to 1 among the PIPEnBRDY
flags. These bits correspond to the BRDYENB.PIPEnBRDYE bits (n = 0 to 9) to which 1 has been set, when the USB
detects the BRDY interrupt status in at least one pipe among the pipes for which the BRDY interrupt output is enabled by
software.
For the conditions for PIPEnBRDY status assertion, refer to
section 32.3.3.1, BRDY Interrupt
The USB sets the BRDY flag to 0 when 0 is written by software to all the PIPEnBRDY flags corresponding to the
PIPEnBRDYE bits that have been set to 1.
The BRDY flag cannot be set to 0 even if 0 is written to this bit by software.
NRDY Flag (Buffer Not Ready Interrupt Status Flag)
The USB sets the NRDY flag to 1 when at least one PIPEnNRDY flag (n = 0 to 9) is set to 1 among the PIPEnNRDY
flags corresponding to the PIPEnNRDYE bits (n = 0 to 9) to which 1 has been set (when the USB detects the NRDY
interrupt status in at least one pipe among the pipes for which software enables the NRDY interrupt output).
For the conditions for PIPEnNRDY status assertion, refer to
section 32.3.3.2, NRDY Interrupt
.
The USB sets the NRDY flag to 0 when 0 is written by software to all the PIPEnNRDY flags corresponding to the
PIPEnNRDYE bits that have been set to 1.
The NRDY flag cannot be set to 0 even if 0 is written to this bit by software.
BEMP Flag (Buffer Empty Interrupt Status Flag)
The USB sets the BEMP flag to 1 when at least one PIPEnBEMP flag (n = 0 to 9) is set to 1 among the PIPEnBEMP
flags corresponding to the PIPEnBEMPE bits (n = 0 to 9) to which 1 has been set (when the USB detects the BEMP
interrupt status in at least one pipe among the pipes for which the BEMP interrupt output is enabled by software).
For the conditions for PIPEnBEMP status assertion, refer to
section 32.3.3.3, BEMP Interrupt
The USB sets the BEMP flag to 0 when 0 is written by software to all the PIPEnBEMP flags corresponding to the
PIPEnBEMPE bits that have been set to 1.
The BEMP flag cannot be set to 0 even if 0 is written to this bit by software.
CTRT Flag (Control Transfer Stage Transition Interrupt Status Flag)
When the function controller is selected, the USB updates the value of the CTSQ[2:0] flags and sets the CTRT flag to 1
on detecting a change in the control transfer stage.
When a control transfer stage transition interrupt is generated, clear the status before the USB detects the next control
transfer stage transition.
When the host controller is selected, the read value is invalid.