USBCBEP0DataReceived Function

Microchip USB Device Library

USB Device Library Help
USBCBEP0DataReceived Function
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

Microchip MCHPFSUSB v2.3 - Sept 20, 2008
Copyright © 2008 Microchip Technology, Inc.  All rights reserved.