/
USBD_EP_TxZLP
USBD_EP_TxZLP
Description
Transmits zero-length packet from the host.
Files
usbd_core.h/usbd_ep.c
Prototype
void USBD_EP_TxZLP (CPU_INT08U dev_nbr, CPU_INT08U ep_addr, CPU_INT16U timeout_ms, USBD_ERR *p_err);
Arguments
dev_nbr
Device number.
ep_addr
Endpoint address.
timeout_ms
Timeout in milliseconds.
p_err
Pointer to variable that will receive the return error code from this function.
USBD_ERR_OS_NONE
USBD_ERR_DEV_INVALID_NBR
USBD_ERR_EP_INVALID_ADDR
USBD_ERR_EP_INVALID_STATE
USBD_ERR_OS_TIMEOUT
USBD_ERR_OS_ABORT
USBD_ERR_OS_FAIL
Returned Value
None.
Callers
Classes.
Notes / Warnings
None.
Related content
USBD_EP_RxZLP
USBD_EP_RxZLP
More like this
USBD_DrvEP_TxZLP
USBD_DrvEP_TxZLP
More like this
USBD_DrvEP_RxZLP
USBD_DrvEP_RxZLP
More like this
USBD_CtrlTx
USBD_CtrlTx
More like this
USBD_Vendor_Wr
USBD_Vendor_Wr
More like this
USBD_BulkTx
USBD_BulkTx
More like this