Instruction manual
Renesas USB MCU and USB ASSP USB Basic Host and Peripheral firmware
R01AN0512EJ0210 Rev.2.10 Page 49 of 157
Apr 1, 2013
R_usb_cstd_SetRegPipeCtr
Set the value of PIPExCTR register
Format
void R_usb_cstd_SetRegPipeCtr( USB_UTR_t *ptr, uint16_t pipeno, uint16_t data )
Argument
*ptr Pointer to a USB Transfer Structure
pipeno Pipe number
data Setting value to register
Return Value
-
Description
Set the value(3rd parameter) to PIPExCTR Register for pipe number(2nd parameter).
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. This function is used for OTG.