usb_buffer_malloc — Allocates a buffer apropriate for a usb transaction.
extern usb_buffer_t* usb_buffer_malloc( | struct usb_endpoint_s* endpoint, | |
| unsigned long size, | ||
| void* external_storage, | ||
int* result); |
| endpoint Endpoint |
| size Size of buffer required |
| external_storage Allows external allocation usually NULL |
| result Pointer to variable to contain result value |