...
usbd_core.h/usbd_core.c
Prototype
Code Block | ||
---|---|---|
| ||
void USBD_BulkRxAsync (CPU_INT08U dev_nbr,
CPU_INT08U ep_addr,
void *p_buf,
CPU_INT32U buf_len,
USBD_ASYNC_FNCT async_fnct,
void *p_async_arg,
USBD_ERR *p_err); |
Arguments
dev_nbr
Device number.
...
- The callback specified by
async_fnct
has the following prototype.
Code Block | ||
---|---|---|
| ||
void USBD_AsyncFnct (CPU_INT08U dev_nbr,
CPU_INT08U ep_addr,
void *p_buf,
CPU_INT32U buf_len,
CPU_INT32U xfer_len,
void *p_arg,
USBD_ERR err); |
Argument(s):
dev_nbr
Device number.
...