R01UH0823EJ0100 Rev.1.00
Page 856 of 1823
Jul 31, 2019
RX23W Group
32. USB 2.0 Host/Function Module (USBc)
DMRPU Bit (D– Line Resistor Control)
The DMRPU bit enables or disables pulling up the D– line when the function controller is selected.
When the DMRPU bit is set to 1 while the function controller is selected, the bit forces a pull-up of the D– line to notify
the USB host of connection as a low-speed device. Modifying the DMRPU bit from 1 to 0 allows the USB to release the
D– line, thus notifying the USB host of disconnection.
This bit should be set to 1 if the function controller is selected, and should be set to 0 if the host controller is selected.
DPRPU Bit (D+ Line Resistor Control)
The DPRPU bit enables or disables pulling up the D+ line when the function controller is selected.
When the DPRPU bit is set to 1 while the function controller is selected, the bit forces a pull-up of the D+ line to notify
the USB host of connection as a full-speed device. Modifying the DPRPU bit from 1 to 0 allows the USB to release the
D+ line, thus notifying the USB host of disconnection.
This bit should be set to 1 if the function controller is selected, and should be set to 0 if the host controller is selected.
DRPD Bit (D+/D– Line Resistor Control)
The DRPD bit enables or disables pulling down D+ and D– lines when the host controller is selected.
This bit should be set to 1 if the host controller is selected, and should be set to 0 if the function controller is selected.
DCFM Bit (Controller Function Select)
The DCFM bit selects the function of the USB.
This bit should be modified when the DMRPU, DPRPU, and DRPD bits are all 0.
CNEN Bit (CNEN Single End Receiver Enable)
Setting the CNEN bit to 1 allows the USB module to enable the single end receiver and set the LNST[1:0] flags to
monitor the status of the D+ and D– lines.
The CNEN bit is used when the USB module operates as a portable device for battery charging.
The SCKE bit stops or enables supplying 48-MHz clock signals to the USB.
When this bit is 0, only SYSCFG can be read from and written to; the other registers related to the USB cannot be read
from or written to.