Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Description

Return current control line state.

Files

usbd_acm_serial.h/usbd_acm_serial.c

Prototype

Arguments

subclass_nbr

CDC ACM serial emulation subclass instance number.

p_err

Pointer to variable that will receive the return error code from this function.

USBD_ERR_NONE
USBD_ERR_INVALID_ARG

Returned Value

Bit-field with the state of the control line.

Bit

Description
USBD_ACM_SERIAL_CTRL_BREAK
Break signal is set.
USBD_ACM_SERIAL_CTRL_RTS
RTS signal is set.
USBD_ACM_SERIAL_CTRL_DTR
DTR signal is set.

Callers

Application.

Notes / Warnings

None.

  • No labels