Instruction manual

Renesas USB MCU and USB ASSP USB Basic Host and Peripheral firmware
R01AN0512EJ0210 Rev.2.10 Page 98 of 157
Apr 1, 2013
R_usb_hstd_EnuWait
Enumeration priority update request (non-OS only)
Format
void R_usb_hstd_EnuWait (USB_UTR_t *ptr, uint8_t taskID)
Argument
*ptr Pointer to USB transfer structure
taskID Task ID
Return Value
Description
An Enumeration priority change request is made. It can be used to change the enumeration priority in cases where a
single piece of hardware has multiple USB ports and, during enumeration of one USB device, attachment of another
USB device is detected.
Note
1. Besides above arguments, also set the following members of the USB Transfer Structure before calling the
function.
USB_REGADR_t ipp USB register base address
uint16_t ip USB IP number
2. This function is for non-OS operations only.
3. Please call at the time of class check processing.
Example
void usb_smp_task(void)
{
R_usb_hstd_EnuWait(ptr, (uint8_t)USB_HSMP_TSK);
}