1 #ifndef ION_DEVICE_USB_REQUEST_RECIPIENT_H 2 #define ION_DEVICE_USB_REQUEST_RECIPIENT_H
bool processSetupRequest(SetupPacket *request, uint8_t *transferBuffer, uint16_t *transferBufferLength, uint16_t transferBufferMaxLength)
RequestRecipient(Endpoint0 *ep0)
virtual void wholeDataReceivedCallback(SetupPacket *request, uint8_t *transferBuffer, uint16_t *transferBufferLength)
virtual void wholeDataSentCallback(SetupPacket *request, uint8_t *transferBuffer, uint16_t *transferBufferLength)
virtual bool processSetupInRequest(SetupPacket *request, uint8_t *transferBuffer, uint16_t *transferBufferLength, uint16_t transferBufferMaxLength)=0