USBD_ACM_SerialLineCodingSet

Description

Set a new line coding.

Files

usbd_acm_serial.h/usbd_acm_serial.c

Prototype

void  USBD_ACM_SerialLineCodingSet (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 that contains the new line coding.

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.