Instruction manual

Renesas USB MCU and USB ASSP USB Basic Host and Peripheral firmware
R01AN0512EJ0210 Rev.2.10 Page 110 of 157
Apr 1, 2013
Table 5.5 Other call-backs
Name Other Call back Functions
Call format (*USB_CB_INFO_t)( USB_UTR_t*,uint16_t, uint16_t)
USB_UTR_t * Pointer to a USB Transfer Structure
uint16_t NOARGUMENT: Not used
Arguments
uint16_t msginfo: Command category
Return values
Description The following commands is set to the third argument
USB_MSG_HCD_ATTACH: Executed at end of attach processing.
USB_MSG_HCD_DETACH: Executed at end of detach processing.
USB_MSG_HCD_SUSPEND: Executed at end of suspend processing.
USB_MSG_HCD_RESUME: Executed at end of resume processing.
USB_MSG_HCD_REMOTE: Executed at end of remote wakeup processing.
USB_MSG_HCD_VBON: Executed at end of VBUS on processing.
USB_MSG_HCD_VBOFF: Executed at end of VBUS off processing.
USB_MSG_HCD_SETDEVICEINFO: Executed at end of pipe setting processing.
USB_MSG_HCD_CTRL_END: Executed at end of data transfer.
USB_MSG_HCD_CLRSEQBIT: Executed when sequence toggle bit is cleared.
USB_MSG_HCD_SETSEQBIT: Executed when sequence toggle bit is set.
Notes