
Renesas USB MCU and USB ASSP USB Basic Host and Peripheral firmware
R01AN0512EJ0210 Rev.2.10 Page 21 of 157
Apr 1, 2013
Example
int16_t usb_smp_fn;
void usb_apl_task()
{
:
usb_smp_fn = open((int8_t *) USB_CLASS_PSTD_BULK, 0, 0);
if(usb_smp_fn != -1)
{
/* USB Transfer */
}
:
}