Instruction manual
Renesas USB MCU and USB ASSP USB Basic Host and Peripheral firmware
R01AN0512EJ0210 Rev.2.10 Page 101 of 157
Apr 1, 2013
R_usb_hstd_MgrOpen
Start the MGR Task
Format
USB_ER_t R_usb_hstd_MgrOpen (USB_UTR_t *ptr)
Argument
*ptr Pointer to a USB Transfer Structure
Return Value
[non-OS]
USB_E_OK Success
[RTOS]
- Error code. Please refer to RI600/4 User's manual for RX family Real-time OS.
Description
[non-OS]
The registration state of HDCD is initialized.
Return value is USB_E_OK at any time.
[RTOS]
After initializing the registration state of HDCD, the function starts the MGR task.
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. The user application should register the PDCD in the PCD and then call this function during initialization.
3. Do not call this function after starting the MGR task.
Example
void usb_smp_task()
{
USB_UTR_t *ptr;
:
R_usb_hstd_MgrOpen(ptr);
:
}