Renesas R5S72642 Doll User Manual


  Open as PDF
of 2152
 
Page 2082 of 2108 R01UH0134EJ0400 Rev. 4.00
Sep 24, 2014
Item Page Revision (See Manual for Details)
26.4.1 System Control and
Oscillation Control
(4) USB Data Bus Resistor
Control
1473 Description added
This module incorporates a pull-up resistor for the D+
signal and a pull-down resistor for the D+ and D- signals.
These signals can be pulled up or down using the DPRPU
and DRPD bits in SYSCFG.
When the function controller function is selected, set the
DPRPU bit in the SYSCFG register to 1 and pull up the D+
signal after recognizing a connection to the USB host.
When disconnection of the USB host is recognized,
manipulate the DPRPU and DCFM bits as follows:
(1) Clear the DPRPU bit to 0.
(2) Wait a minimum of 1 µs.
(3) Set the DCFM bit to 1.
(4) Wait a minimum of 200 ns.
(5) Clear the DCFM bit to 0.
26.4.3 Pipe Control
Table 26.17 Pipe Setting
Items
1500,
1501
Table amended
Register
Name
Bit Name
Setting
Contents
Remarks
DCPCFG
PIPECFG
TYPE Specifies the
transfer type
PIPE1 to PIPE9: Can be set
CNTMD Selects
continuous
transfer or non-
continuous
transfer
DCP: Can be set
PIPE1 and PIPE2: Can be set (only when bulk
transfer has been selected).
PIPE3 to PIPE5: Can be set
SHTNAK Selects disabled
state for pipe
when transfer
ends
DCP: Can be set
PIPE1 and PIPE2: Can be set (only when bulk
transfer has been selected)
PIPE3 to PIPE5: Can be set
PIPEPERI IFIS Buffer flush PIPE1 and PIPE2: Can be set (only when
isochronous transfer has been
selected)
PIPE3 to PIPE9: Cannot be set
(1) Pipe Control Register
Switching Procedures
1503 Description amended
4. Wait until the corresponding PBUSY bit is cleared to 0.
Note: The PBUSY bit may remain set to 1 if the device
is detached while USB transaction processing is
in progress.