Renesas R5S72642 Doll User Manual


  Open as PDF
of 2152
 
Section 26 USB 2.0 Host/Function Module
Page 1352 of 2108 R01UH0134EJ0400 Rev. 4.00
Sep 24, 2014
SH7262 Group, SH7264 Group
Bit Bit Name
Initial
Value R/W Description
5 DRPD 0 R/W D/D Line Resistor Control
Enables or disables pulling down D+ and D- lines
when the host controller function is selected.
0: Pulling down the lines is disabled.
1: Pulling down the lines is enabled.
This bit should be set to 1 if the host controller
function is selected, and should be set to 0 if the
function controller function is selected.
4 DPRPU 0 R/W D Line Resistor Control
Enables or disables pulling up D+ line when the
function controller function is selected.
0: Pulling up the line is disabled.
1: Pulling up the line is enabled.
Setting this bit to 1 when the function controller
function is selected allows this module to pull up the
D+ line to 3.3 V, thus notifying the USB host of
connection. Modifying this bit from 1 to 0 allows this
module to cancel pulling up the D+ line, thus notifying
the USB host of disconnection.
This bit should be set to 1 if the function controller
function is selected, and should be set to 0 if the host
controller function is selected.
Note: Set this bit to 0 when the USB is disconnected.
Include the following processing when this bit is
changed from 1 to 0.
(1) Set the DPRPU bit to 0.
(2) Wait for at least 1 s.
(3) Set the DCFM bit to 1.
(4) Wait for at least 200 ns.
(5) Set the DCFM bit to 0.
3 to 1 All 0 R Reserved
These bits are always read as 0. The write value
should always be 0.