How-To Guide

Table Of Contents
R01UH0823EJ0110 Rev.1.10 Page 866 of 1852
Nov 30, 2020
RX23W Group 32. USB 2.0 Host/Function Module (USBc)
32.2.3 Device State Control Register 0 (DVSTCTR0)
x: Don’t care
Address(es): USB0.DVSTCTR0 000A 0008h
b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0
————
HNPBT
OA
EXICE
N
VBUSE
N
WKUP
RWUP
E
USBRS
T
RESU
ME
UACT RHST[2:0]
Value after reset:
0000000000000000
Bit Symbol Bit Name Description R/W
b2 to b0 RHST[2:0] USB Bus Reset Status Flag When the host controller is selected
b2 b0
0 0 0: Communication speed not determined
(powered state or no connection)
1 x x: USB bus reset in progress
0 0 1: Low-speed connection
0 1 0: Full-speed connection
When the function controller is selected
b2 b0
0 0 0: Communication speed not determined
0 0 1: USB bus reset in progress or low-speed connection
0 1 0: USB bus reset in progress or full-speed connection
R
b3 Reserved This bit is read as 0. The write value should be 0. R/W
b4 UACT USB Bus Enable 0: Downstream port is disabled (SOF transmission is
disabled).
1: Downstream port is enabled (SOF transmission is
enabled).
R/W
b5 RESUME Resume Output 0: Resume signal is not output.
1: Resume signal is output.
R/W
b6 USBRST USB Bus Reset Output 0: USB bus reset signal is not output.
1: USB bus reset signal is output.
R/W
b7 RWUPE Wakeup Detection Enable 0: Downstream port wakeup is disabled.
1: Downstream port wakeup is enabled.
R/W
b8 WKUP Wakeup Output 0: Remote wakeup signal is not output.
1: Remote wakeup signal is output.
R/W
b9 VBUSEN VBUSEN Output Pin Control 0: USB0_VBUSEN pin outputs low.
1: USB0_VBUSEN pin outputs high.
R/W
b10 EXICEN EXICEN Output Pin Control 0: USB0_EXICEN pin outputs low.
1: USB0_EXICEN pin outputs high.
R/W
b11 HNPBTOA Host Negotiation Protocol (HNP)
Control
This bit is used when switching from device B to device A
while in OTG mode. If the HNPBTOA bit is 1, the internal
function control keeps the suspended state until the HNP
processing ends even though SYSCFG.DPRPU = 0 or
SYSCFG.DCFM = 1.
R/W
b15 to b12 Reserved These bits are read as 0. The write value should be 0. R/W