Instruction manual

Renesas USB MCU and USB ASSP USB Basic Host and Peripheral firmware
R01AN0512EJ0210 Rev.2.10 Page 108 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 of the third parameter to the PIPExCTR register, where ‘x’ is the specified pipe number (second
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.