Instruction manual
Renesas USB MCU and USB ASSP USB Basic Host and Peripheral firmware
R01AN0512EJ0210 Rev.2.10 Page 147 of 157
Apr 1, 2013
8.4 uITRON Task start
RTOS calls the vsta_knl() in the initialization routine (PowerON_Reset_PC()) function and runs the kernel.
After the kernel is run, the usb_cstd_main_task() function is started, all other tasks are started, and then the main task
goes to the DOMANT state.
8.5 uITRON Systemcall
Table 8-4 shows the system calls used in RTOS.
Table 8-4 System call
Systemcall Description
USB_ACT_TSK Starts a task
USB_TER_TSK Terminates a task.
USB_DLY_TSK Delays a task by the specified duration.
USB_SND_MSG Transmits a message from a task to the specified mailbox.
USB_ISND_MSG Transmits a message from a interrupt to the specified mailbox.
USB_RCV_MSG Receives a message from the mailbox.
USB_TRCV_MSG Receives a message from the mailbox with timeout.
USB_PGET_BLK Get a variable-length memory block with a task (interrupt).
USB_REL_BLK Release a variable-length memory block.