Renesas R5S72642 Doll User Manual


  Open as PDF
of 2152
 
Section 26 USB 2.0 Host/Function Module
R01UH0134EJ0400 Rev. 4.00 Page 1419 of 2108
Sep 24, 2014
SH7262 Group, SH7264 Group
Bit Bit Name
Initial
Value R/W Description
15 BSTS 0 R Buffer Status
Indicates whether DCP FIFO buffer access is
enabled or disabled.
0: Buffer access is disabled.
1: Buffer access is enabled.
The meaning of the BSTS bit depends on the ISEL
bit setting as follows.
When ISEL = 0, BSTS indicates whether the
received data can be read from the buffer.
When ISEL = 1, BSTS indicates whether the
data to be transmitted can be written to the
buffer.
14 SUREQ 0 R/W*
2
SETUP Token Transmission
Transmits the setup packet by setting this bit to 1
when the host controller function is selected.
0: Invalid
1: Transmits the setup packet.
After completing the setup transaction process, this
module generates either the SACK or SIGN
interrupt and clears this bit to 0.
This module also clears this bit to 0 when the
SUREQCLR bit is set to 1.
Before setting this bit to 1, set the DEVSEL bits,
USBREQ register, USBVAL register, USBINDX
register, and USBLENG register appropriately to
transmit the desired USB request in the setup
transaction.
Before setting this bit to 1, check that the PID bits
for the DCP are set to NAK. After setting this bit to
1, do not modify the DEVSEL bits, USBREQ
register, USBVAL register, USBINDX register, or
USBLENG register until the setup transaction is
completed (SUREQ = 1).
Write 1 to this bit only when transmitting the setup
token; for the other purposes, write 0.
When the function controller function is selected, be
sure to write 0 to this bit.