C
void USBCBEP0DataReceived();
Description
This function is called whenever a EP0 data packet is received. This gives the user (and thus the various class examples a way to get data that is received via the control endpoint. This function needs to be used in conjunction with the USBCBCheckOtherReq() function since the USBCBCheckOtherReq() function is the apps method for getting the initial control transfer before the data arrives.
Preconditions
ENABLE_EP0_DATA_RECEIVED_CALLBACK must be defined already (in usb_config.h)
Remarks
None
MCHPFSUSB Device Library > Stack > Public API Members > Functions and Macros > USBCBEP0DataReceived Function