C
void USBCBInitEP();
Description
This function is called when the device becomes initialized, which occurs after the host sends a SET_CONFIGURATION (wValue not = 0) request. This callback function should initialize the endpoints for the device's usage according to the current configuration.
Typical Usage:
void USBCBInitEP(void) { USBEnableEndpoint(MSD_DATA_IN_EP,USB_IN_ENABLED|USB_OUT_ENABLED|USB_HANDSHAKE_ENABLED|USB_DISALLOW_SETUP); USBMSDInit(); }
Preconditions
None
Remarks
None