USBD_ACM_SerialLineStateSet
Description
Set one or several line state events.
Files
usbd_acm_serial.h/usbd_acm_serial.c
Prototype
void USBD_ACM_SerialLineStateSet (CPU_INT08U subclass_nbr,
CPU_INT08U events,
USBD_ERR *p_err)
Arguments
subclass_nbr
CDC ACM serial emulation subclass instance number.
events
Line state event(s) to set.
State event | Description |
|---|---|
| DCD (Rx carrier) |
| DSR (Tx carrier) |
| Break |
| Ring |
| Framing error |
| Parity error |
| Overrun |
p_err
Pointer to variable that will receive the return error code from this function.
USBD_ERR_NONE
USBD_ERR_CLASS_INVALID_NBR
USBD_ERR_INVALID_CLASS_STATE
Returned Value
None.
Callers
Application.
Notes / Warnings
None.