Instruction manual
Renesas USB MCU and USB ASSP USB Basic Host and Peripheral firmware
R01AN0512EJ0210 Rev.2.10 Page 85 of 157
Apr 1, 2013
Example
void usb_smp_task(USB_UTR_t *ptr)
{
uint16_t status;
uint16_t pipe;
:
pipe = USB_PIPEx
status = USB_DATA_STOP
/* Transfer end request */
err = R_usb_hstd_TransferEnd(ptr, pipe, status);
return err;
:
}