Renesas USB Device
USB Host Mass Storage Class Driver(HMSC)
R01AN0513EJ0110 Rev.1.10
Page 53 of 55
Aug 10, 2011
9.2.3 Task
call
The task used is called by the main loop function (usb_hmsc_MainLoop () function).
In the usb_hmsc_MainLoop () function of r_usb_HMSC_apl.c, the task is called as follows.
void usb_hmsc_MainLoop(void)
{
if( R_usbc_cstd_CheckSchedule() == USBC_FLGSET )
{
usb_hstd_HcdTask((USBC_VP_INT)0);
/* HCD Task */
usb_hstd_MgrTask((USBC_VP_INT)0);
/* MGR Task */
usb_hhub_Task((USBC_VP_INT)0);
/* HUB Task */
usb_hmsc_Task();
/*
HMSC
Task
*/
usb_hmsc_StrgDriveTask();
/*
HSTRG
Task
*/
usb_hmsc_SampleAplTask();
/* HMSC Sample Task */
}
R_usbc_cstd_Scheduler();
/*
Scheduler
*/
}
Summary of Contents for R8A66597
Page 56: ......