Instruction manual

Renesas USB MCU and USB ASSP USB Basic Host and Peripheral firmware
R01AN0512EJ0210 Rev.2.10 Page 107 of 157
Apr 1, 2013
R_usb_cstd_SetRegDvstctr0
Set DVSTCTR0 register
Format
void R_usb_cstd_SetRegDvstctr0 ( USB_UTR_t *ptr, uint16_t data )
Argument
*ptr Pointer to a USB Transfer Structure
data Setting value to register
Return Value
Description
Set the value of the second argument to the DVSTCTR0 register.
DVSTCTR0 controls the state of the USB data bus.
Note
1. Besides above arguments, also set the following members of the USB Transfer Structure.
USB_REGADR_t ipp USB register base address
uint16_t ip USB IP number
2. Please call this function from the class driver (HDCD).