USBD_ACM_SerialLineCodingGet

Description

Get the current state of the line coding.

Files

usbd_acm_serial.h/usbd_acm_serial.c

Prototype

void  USBD_ACM_SerialLineCodingGet (CPU_INT08U                    subclass_nbr,
                                    USBD_ACM_SERIAL_LINE_CODING  *p_line_coding,
                                    USBD_ERR                     *p_err);


Arguments

subclass_nbr

CDC ACM serial emulation subclass instance number.

p_line_coding

Pointer to the structure where the current line coding will be stored.

p_err

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

USBD_ERR_NONE
USBD_ERR_INVALID_ARG
USBD_ERR_NULL_PTR

Returned Value

None.

Callers

Application.

Notes / Warnings

None.