void USBEP0Receive( uint8_t* dest, uint16_t size, void (*function) );
None
Parameters |
Description |
uint8_t* dest |
address of where the incoming data will go (make sure that this address is directly accessible by the USB module for parts with dedicated USB RAM this address must be in that space) |
uint16_t size |
the size of the data being received (is almost always going to be presented by the preceeding setup packet SetupPkt.wLength) (*function) - a function that you want called once the data is received. If this is specified as NULL then no function is called. |
None
MLA - USB Library Help Version : 2.16
![]() |