...
usbd_internal.h/usbd_os.c
Prototype
Code Block | ||
---|---|---|
| ||
void USBD_OS_EP_LockAcquire (CPU_INT08U dev_nbr,
CPU_INT08U ep_ix,
CPU_INT16U timeout_ms,
USBD_ERR *p_err); |
Arguments
dev_nbr
Device number.
...
- A call to this function should pend on the lock associated to the specified endpoint.
Following table describes the error codes that should be assigned to
p_err
depending on the operation result.
Panel | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
|