Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

usbd_acm_serial.h/usbd_acm_serial.c

Prototype

Code Block
languagecpp
void  USBD_ACM_SerialLineCodingReg(CPU_INT08U                          subclass_nbr,
                                   USBD_ACM_SERIAL_LINE_CODING_CHNGD   line_coding_chngd,
                                   void                               *p_arg,
                                   USBD_ERR                           *p_err);


Arguments

subclass_nbr

CDC ACM serial emulation subclass instance number.

...

The callback specified by line_coding_chngd argument is used to notify changes in the control signals to the application. The line control notification function has the following prototype:

Code Block
languagecpp
CPU_BOOLEAN  AppLineCodingChngd (CPU_INT08U                    subclass_nbr,
                                 USBD_ACM_SERIAL_LINE_CODING  *p_line_coding,
                                 void                         *p_arg);


Arguments

subclass_nbr

CDC ACM serial emulation subclass instance number.

...