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_SerialLineCtrlReg (CPU_INT08U                        subclass_nbr,
                                  USBD_ACM_SERIAL_LINE_CTRL_CHNGD   line_ctrl_chngd,
                                  void                             *p_arg,
                                  USBD_ERR                         *p_err);


Arguments

subclass_nbr

CDC ACM serial emulation subclass instance number.

...

The callback specified by line_ctrl_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
void AppLineCtrlChngd  (CPU_INT08U   subclass_nbr,
                        CPU_INT08U   events,
                        CPU_INT08U   events_chngd,
                        void        *p_arg);


Argument(s)

subclass_nbr

CDC ACM serial emulation subclass instance number.

...