Instruction manual
Renesas USB MCU and USB ASSP USB Basic Host and Peripheral firmware
R01AN0512EJ0210 Rev.2.10 Page 97 of 157
Apr 1, 2013
R_usb_hstd_ReturnEnuMGR
Enumeration continuation request (non-OS only)
Format
void R_usb_hstd_ReturnEnuMGR (USB_UTR_t *ptr, uint16_t cls_result)
Argument
*ptr Pointer to USB transfer structure
cls_result Class check result
Return Value
- -
Description
The function transmits a message to MGR requesting continuation of enumeration processing. MGR analyzes the
argument of the function and determines whether or not to transition the connected peripheral device to the
configured state. Specify the class check result as the argument (cls_result).
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)
{
:
(Enumeration processing)
:
R_usb_hstd_ReturnEnuMGR(ptr, cls_result);
:
}