...
usbd_acm_serial.h/usbd_acm_serial.c
Prototype
Code Block | ||
---|---|---|
| ||
CPU_INT08U USBD_ACM_SerialAdd (CPU_INT16U line_state_interval,
CPU_INT16U call_mgmt_capabilities,
USBD_ERR *p_err); |
Arguments
line_state_interval
...
- 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 Combination | Windows | Linux | Mac OS X | Note |
---|---|---|---|---|
USBD_ACM_SERIAL_CALL_MGMT_DEV |
USBD_ACM_SERIAL_CALL_MGMT_DATA_CCI_DCI | 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) |