Instruction manual

Renesas USB MCU and USB ASSP USB Basic Host and Peripheral firmware
R01AN0512EJ0210 Rev.2.10 Page 75 of 157
Apr 1, 2013
Processing at the time of the completion of reception
void usb_smp_Read_Notify(USB_UTR_t *ptr, uint16_t data1, uint16_t data2)
{
/* Receiving data length check */
err = control(usb_spvendor_bulk_fn, USB_CTL_RD_LENGTH_GET, (void*)&data_len);
if(err != USB_CTL_ERR_PROCESS_COMPLETE)
{
/* Error Processing */
}
}