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
CPU_INT08U  USBD_ACM_SerialAdd (CPU_INT16U   line_state_interval,
                                CPU_INT16U   call_mgmt_capabilities,
                                USBD_ERR    *p_err);


Arguments

line_state_interval

...

  1. Depending on the operating system (Windows, Linux or Mac OS X), not all the possible flags combinations are supported. This table shows the different combinations and the support by each major operating system (OS):
Flags CombinationWindowsLinuxMac OS XNote
USBD_ACM_SERIAL_CALL_MGMT_DEV(tick)(tick)(error)
 

USBD_ACM_SERIAL_CALL_MGMT_DATA_CCI_DCI(tick)(tick)(tick)If USBD_ACM_SERIAL_CALL_MGMT_DEV is not set, USBD_ACM_SERIAL_CALL_MGMT_DATA_CCI_DCI alone is ignored by the OS
(USBD_ACM_SERIAL_CALL_MGMT_DEV |
USBD_ACM_SERIAL_CALL_MGMT_DATA_CCI_DCI)
(tick)(tick)(tick)