How-To Guide

Table Of Contents
R01UH0823EJ0110 Rev.1.10 Page 886 of 1852
Nov 30, 2020
RX23W Group 32. USB 2.0 Host/Function Module (USBc)
32.2.14 Interrupt Status Register 1 (INTSTS1)
Note 1. To clear the status indicated by the flags in the INTSTS1 register, write 0 only to the flags to be cleared; write 1 to the other
flags.
Note 2. A change in the status indicated by the OVRCR or BCHG flag can be detected even while the clock supply is stopped (while the
SYSCFG.SCKE bit = 0), and the interrupt is output when the corresponding interrupt enable bit is enabled. Clearing the status
through software should be done after setting the SYSCFG.SCKE bit to 1.
No interrupts other than those indicated by the BCHG and OVRCR flags can be detected while the clock supply is stopped
(while the SYSCFG.SCKE bit = 0).
The INTSTS1 register is used to confirm the status of each interrupt when the host controller is selected.
The various status change interrupts indicated by the flags in the INTSTS1 register should be enabled only when the host
controller is selected.
PDDETINT0 Flag (Portable Device Detection Interrupt Status Flag)
Indicates the status of the portable device detection interrupt when the host controller is selected.
This bit is set to 1 when the USB module detects when a level change (high to low or low to high) occurs in the input
value to the VDPDET pin of the USB physical layer transceiver (PHY). The USB module sets the PDDETSTS0 flag to
indicate the VDPDET input value.
When the PDDETINT interrupt is generated, use software to repeat reading the PDDETSTS0 flag until the same value is
read three or more times, and eliminate chattering.
Address(es): USB0.INTSTS1 000A 0042h
b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0
OVRC
R
BCHG DTCH ATTCH
EOFER
R
SIGN SACK
PDDET
INT0
Value after reset:
0000000000000000
Bit Symbol Bit Name Description R/W
b0 PDDETINT0 Portable Device Detection Interrupt
Status Flag
0: PDDETINT interrupts are not generated.
1: PDDETINT interrupts are generated.
R/W
*
1
b3 to b1 Reserved These bits are read as 0. The write value should be 0. R/W
b4 SACK Setup Transaction Normal Response
Interrupt Status Flag
0: SACK interrupts are not generated.
1: SACK interrupts are generated.
R/W
*
1
b5 SIGN Setup Transaction Error Interrupt Status
Flag
0: SIGN interrupts are not generated.
1: SIGN interrupts are generated.
R/W
*
1
b6 EOFERR EOF Error Detection Interrupt Status
Flag
0: EOFERR interrupts are not generated.
1: EOFERR interrupts are generated.
R/W
*
1
b10 to b7 Reserved These bits are read as 0. The write value should be 0. R/W
b11 ATTCH ATTCH Interrupt Status Flag 0: ATTCH interrupts are not generated.
1: ATTCH interrupts are generated.
R/W
*
1
b12 DTCH USB Disconnection Detection Interrupt
Status Flag
0: DTCH interrupts are not generated.
1: DTCH interrupts are generated.
R/W
*
1
b13 Reserved This bit is read as 0. The write value should be 0. R/W
b14 BCHG USB Bus Change Interrupt Status Flag
*
2
0: BCHG interrupts are not generated.
1: BCHG interrupts are generated.
R/W
*
1
b15 OVRCR Overcurrent Input Change Interrupt
Status Flag*
2
0: OVRCR interrupts are not generated.
1: OVRCR interrupts are generated.
R/W
*
1