C
void USBMSDInit();
Description
This routine initializes the MSD class packet handles, prepares to receive a MSD packet, and initializes the MSD state machine. This function should be called once after the device is enumerated.
Typical Usage:
void USBCBInitEP(void) { USBEnableEndpoint(MSD_DATA_IN_EP,USB_IN_ENABLED|USB_OUT_ENABLED|USB_HANDSHAKE_ENABLED|USB_DISALLOW_SETUP); USBMSDInit(); }
Preconditions
The device should already be enumerated with a configuration that supports MSD before calling this function.
Paramters: None
Remarks
None
MCHPFSUSB Device Library > Function Drivers > Mass Storage Device (MSD) > Public API Members > Functions and Macros > USBMSDInit Function