Instruction manual
Renesas USB MCU and USB ASSP USB Basic Host and Peripheral firmware
R01AN0512EJ0210 Rev.2.10 Page 45 of 157
Apr 1, 2013
R_usb_pstd_SetPipeStall
Set STALL to PID of PIPE (no callback)
Format
void R_usb_pstd_SetStall (USB_UTR_t *ptr, uint16_t pipeno)
Argument
*ptr Pointer to a USB Transfer Structure
pipeno Pipe number
Return Value
- -
Description
Setting STALL as PID for the specified pipe number
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 user application or the device class.
Example
void usb_smp_task(USB_UTR_t *ptr)
{
:
R_usb_pstd_SetPipeStall( ptr, pipeno );
:
}