|
Zephyr Project API 4.4.99
A Scalable Open Source RTOS
|
USB Communications Device Class (CDC) public header. More...
Go to the source code of this file.
Data Structures | |
| struct | cdc_header_descriptor |
| Header Functional Descriptor. More... | |
| struct | cdc_union_descriptor |
| Union Interface Functional Descriptor. More... | |
| struct | cdc_cm_descriptor |
| Call Management Functional Descriptor. More... | |
| struct | cdc_acm_descriptor |
| Abstract Control Management Functional Descriptor. More... | |
| struct | cdc_acm_line_coding |
| Data structure for GET_LINE_CODING / SET_LINE_CODING class requests. More... | |
| struct | cdc_acm_notification |
| Data structure for the notification about SerialState. More... | |
| struct | cdc_ecm_descriptor |
| Ethernet Networking Functional Descriptor. More... | |
| struct | cdc_ncm_descriptor |
| Ethernet Network Control Model (NCM) Descriptor. More... | |
Macros | |
| #define | CDC_SRN_1_20 0x0120 __DEPRECATED_MACRO |
| CDC Specification release number in BCD format. | |
| #define | ACM_SUBCLASS 0x02 |
| Communications Class Subclass Codes. | |
| #define | ECM_SUBCLASS 0x06 |
| #define | EEM_SUBCLASS 0x0c |
| #define | NCM_SUBCLASS 0x0d |
| #define | AT_CMD_V250_PROTOCOL 0x01 |
| Communications Class Protocol Codes. | |
| #define | EEM_PROTOCOL 0x07 |
| #define | ACM_VENDOR_PROTOCOL 0xFF |
| #define | NCM_DATA_PROTOCOL 0x01 |
| #define | DATA_INTERFACE_CLASS 0x0A |
| Data Class Interface Codes. | |
| #define | HEADER_FUNC_DESC 0x00 |
| bDescriptor SubType for Communications Class Functional Descriptors | |
| #define | CALL_MANAGEMENT_FUNC_DESC 0x01 |
| #define | ACM_FUNC_DESC 0x02 |
| #define | UNION_FUNC_DESC 0x06 |
| #define | ETHERNET_FUNC_DESC 0x0F |
| #define | ETHERNET_FUNC_DESC_NCM 0x1a |
| #define | USB_CDC_NETWORK_CONNECTION 0x00 |
| Communications Class Notification Codes. | |
| #define | USB_CDC_RESPONSE_AVAILABLE 0x01 |
| Response available notification. | |
| #define | USB_CDC_CONNECTION_SPEED_CHANGE 0x2A |
| Connection speed change notification. | |
| #define | CDC_SEND_ENC_CMD 0x00 |
| PSTN Subclass Specific Requests for ACM devices. | |
| #define | CDC_GET_ENC_RSP 0x01 |
| #define | SET_LINE_CODING 0x20 |
| #define | GET_LINE_CODING 0x21 |
| #define | SET_CONTROL_LINE_STATE 0x22 |
| #define | USB_CDC_AUX_JACK_HOOK_STATE 0x08 |
| PSTN Subclass Class-Specific Notification Codes. | |
| #define | USB_CDC_RING_DETECT 0x09 |
| Ring detect notification. | |
| #define | USB_CDC_SERIAL_STATE 0x20 |
| Serial state notification. | |
| #define | USB_CDC_LINE_STATE_CHANGE 0x23 |
| Line state change notification. | |
| #define | USB_CDC_CALL_STATE_CHANGE 0x28 |
| Call state change notification. | |
| #define | USB_CDC_SERIAL_STATE_OVERRUN BIT(6) |
| PSTN UART State Bitmap Values. | |
| #define | USB_CDC_SERIAL_STATE_PARITY BIT(5) |
| #define | USB_CDC_SERIAL_STATE_FRAMING BIT(4) |
| #define | USB_CDC_SERIAL_STATE_RINGSIGNAL BIT(3) |
| #define | USB_CDC_SERIAL_STATE_BREAK BIT(2) |
| #define | USB_CDC_SERIAL_STATE_TXCARRIER BIT(1) |
| #define | USB_CDC_SERIAL_STATE_RXCARRIER BIT(0) |
| #define | SET_CONTROL_LINE_STATE_RTS 0x02 |
| Control Signal Bitmap Values for SetControlLineState. | |
| #define | SET_CONTROL_LINE_STATE_DTR 0x01 |
| #define | USB_CDC_LINE_CTRL_BAUD_RATE UART_LINE_CTRL_BAUD_RATE |
| Enhance enum uart_line_ctrl with CDC specific values. | |
| #define | USB_CDC_LINE_CTRL_DCD UART_LINE_CTRL_DCD |
| #define | USB_CDC_LINE_CTRL_DSR UART_LINE_CTRL_DSR |
| #define | USB_CDC_LINE_CTRL_BREAK BIT(5) |
| #define | USB_CDC_LINE_CTRL_RING_SIGNAL BIT(6) |
| #define | USB_CDC_LINE_CTRL_FRAMING BIT(7) |
| #define | USB_CDC_LINE_CTRL_PARITY BIT(8) |
| #define | USB_CDC_LINE_CTRL_OVER_RUN BIT(9) |
| #define | SERIAL_STATE_OVER_RUN 0x40 |
| UART State Bitmap Values. | |
| #define | SERIAL_STATE_PARITY 0x20 |
| #define | SERIAL_STATE_FRAMING 0x10 |
| #define | SERIAL_STATE_RING_SIGNAL 0x08 |
| #define | SERIAL_STATE_BREAK 0x04 |
| #define | SERIAL_STATE_TX_CARRIER 0x02 |
| #define | SERIAL_STATE_RX_CARRIER 0x01 |
| #define | USB_CDC_LINE_CODING_STOP_BITS_1 0 |
| PSTN Subclass Line Coding Values. | |
| #define | USB_CDC_LINE_CODING_STOP_BITS_1_5 1 |
| #define | USB_CDC_LINE_CODING_STOP_BITS_2 2 |
| #define | USB_CDC_LINE_CODING_PARITY_NO 0 |
| #define | USB_CDC_LINE_CODING_PARITY_ODD 1 |
| #define | USB_CDC_LINE_CODING_PARITY_EVEN 2 |
| #define | USB_CDC_LINE_CODING_PARITY_MARK 3 |
| #define | USB_CDC_LINE_CODING_PARITY_SPACE 4 |
| #define | USB_CDC_LINE_CODING_DATA_BITS_5 5 |
| #define | USB_CDC_LINE_CODING_DATA_BITS_6 6 |
| #define | USB_CDC_LINE_CODING_DATA_BITS_7 7 |
| #define | USB_CDC_LINE_CODING_DATA_BITS_8 8 |
| #define | SET_ETHERNET_MULTICAST_FILTERS 0x40 |
| Class-Specific Request Codes for Ethernet subclass. | |
| #define | SET_ETHERNET_PM_FILTER 0x41 |
| #define | GET_ETHERNET_PM_FILTER 0x42 |
| #define | SET_ETHERNET_PACKET_FILTER 0x43 |
| #define | GET_ETHERNET_STATISTIC 0x44 |
| #define | GET_NTB_PARAMETERS 0x80 |
| Class-Specific Request Codes for NCM subclass. | |
| #define | GET_NET_ADDRESS 0x81 |
| #define | SET_NET_ADDRESS 0x82 |
| #define | GET_NTB_FORMAT 0x83 |
| #define | SET_NTB_FORMAT 0x84 |
| #define | GET_NTB_INPUT_SIZE 0x85 |
| #define | SET_NTB_INPUT_SIZE 0x86 |
| #define | GET_MAX_DATAGRAM_SIZE 0x87 |
| #define | SET_MAX_DATAGRAM_SIZE 0x88 |
| #define | GET_CRC_MODE 0x89 |
| #define | SET_CRC_MODE 0x8A |
| #define | PACKET_TYPE_MULTICAST 0x10 |
| Ethernet Packet Filter Bitmap. | |
| #define | PACKET_TYPE_BROADCAST 0x08 |
| #define | PACKET_TYPE_DIRECTED 0x04 |
| #define | PACKET_TYPE_ALL_MULTICAST 0x02 |
| #define | PACKET_TYPE_PROMISCUOUS 0x01 |
| #define | USB_CDC_ECM_STAT_RESERVED 0x00 |
| ECM Subclass Ethernet Statistics Feature Selector Codes. | |
| #define | USB_CDC_ECM_STAT_XMIT_OK 0x01 |
| Frames transmitted without errors. | |
| #define | USB_CDC_ECM_STAT_RCV_OK 0x02 |
| Frames received without errors. | |
| #define | USB_CDC_ECM_STAT_XMIT_ERROR 0x03 |
| Frames not transmitted, or transmitted with errors. | |
| #define | USB_CDC_ECM_STAT_RCV_ERROR 0x04 |
| Frames received with errors. | |
| #define | USB_CDC_ECM_STAT_RCV_NO_BUFFER 0x05 |
| Frames missed, no buffers. | |
| #define | USB_CDC_ECM_STAT_DIRECTED_BYTES_XMIT 0x06 |
| Directed bytes transmitted without errors. | |
| #define | USB_CDC_ECM_STAT_DIRECTED_FRAMES_XMIT 0x07 |
| Directed frames transmitted without errors. | |
| #define | USB_CDC_ECM_STAT_MULTICAST_BYTES_XMIT 0x08 |
| Multicast bytes transmitted without errors. | |
| #define | USB_CDC_ECM_STAT_MULTICAST_FRAMES_XMIT 0x09 |
| Multicast frames transmitted without errors. | |
| #define | USB_CDC_ECM_STAT_BROADCAST_BYTES_XMIT 0x0A |
| Broadcast bytes transmitted without errors. | |
| #define | USB_CDC_ECM_STAT_BROADCAST_FRAMES_XMIT 0x0B |
| Broadcast frames transmitted without errors. | |
| #define | USB_CDC_ECM_STAT_DIRECTED_BYTES_RCV 0x0C |
| Directed bytes received without errors. | |
| #define | USB_CDC_ECM_STAT_DIRECTED_FRAMES_RCV 0x0D |
| Directed frames received without errors. | |
| #define | USB_CDC_ECM_STAT_MULTICAST_BYTES_RCV 0x0E |
| Multicast bytes received without errors. | |
| #define | USB_CDC_ECM_STAT_MULTICAST_FRAMES_RCV 0x0F |
| Multicast frames received without errors. | |
| #define | USB_CDC_ECM_STAT_BROADCAST_BYTES_RCV 0x10 |
| Broadcast bytes received without errors. | |
| #define | USB_CDC_ECM_STAT_BROADCAST_FRAMES_RCV 0x11 |
| Broadcast frames received without errors. | |
| #define | USB_CDC_ECM_STAT_RCV_CRC_ERROR 0x12 |
| Frames received with circular redundancy check (CRC) or frame check sequence (FCS) error. | |
| #define | USB_CDC_ECM_STAT_TRANSMIT_QUEUE_LENGTH 0x13 |
| Length of transmit queue. | |
| #define | USB_CDC_ECM_STAT_RCV_ERROR_ALIGNMENT 0x14 |
| Frames received with alignment error. | |
| #define | USB_CDC_ECM_STAT_XMIT_ONE_COLLISION 0x15 |
| Frames transmitted with one collision. | |
| #define | USB_CDC_ECM_STAT_XMIT_MORE_COLLISIONS 0x16 |
| Frames transmitted with more than one collision. | |
| #define | USB_CDC_ECM_STAT_XMIT_DEFERRED 0x17 |
| Frames transmitted after deferral. | |
| #define | USB_CDC_ECM_STAT_XMIT_MAX_COLLISIONS 0x18 |
| Frames not transmitted due to collisions. | |
| #define | USB_CDC_ECM_STAT_RCV_OVERRUN 0x19 |
| Frames not received due to overrun. | |
| #define | USB_CDC_ECM_STAT_XMIT_UNDERRUN 0x1A |
| Frames not transmitted due to underrun. | |
| #define | USB_CDC_ECM_STAT_XMIT_HEARTBEAT_FAILURE 0x1B |
| Frames transmitted with heartbeat failure. | |
| #define | USB_CDC_ECM_STAT_XMIT_TIMES_CRS_LOST 0x1C |
| Times carrier sense signal lost during transmission. | |
| #define | USB_CDC_ECM_STAT_XMIT_LATE_COLLISIONS 0x1D |
| Late collisions detected. | |
Network Capabilities Bitmap of the NCM Functional Descriptor | |
| |
| #define | USB_CDC_NCM_NCAP_ETH_FILTER BIT(0) |
| Function can process SetEthernetPacketFilter requests. | |
| #define | USB_CDC_NCM_NCAP_NET_ADDRESS BIT(1) |
| Function can process GetNetAddress and SetNetAddress requests. | |
| #define | USB_CDC_NCM_NCAP_ENCAP_COMMAND BIT(2) |
| Function can process SendEncapsulatedCommand and GetEncapsulatedResponse requests. | |
| #define | USB_CDC_NCM_NCAP_MAX_DATAGRAM_SIZE BIT(3) |
| Function can process SetMaxDatagramSize and GetMaxDatagramSize requests. | |
| #define | USB_CDC_NCM_NCAP_CRC_MODE BIT(4) |
| Function can process SetCrcMode and GetCrcMode requests. | |
| #define | USB_CDC_NCM_NCAP_NTB_INPUT_SIZE BIT(5) |
| Function can process 8-byte forms of GetNtbInputSize and SetNtbInputSize requests. | |
USB Communications Device Class (CDC) public header.
Header follows the Class Definitions for Communications Devices Specification (CDC120-20101103-track.pdf), PSTN Devices Specification (PSTN120.pdf) and Ethernet Control Model Devices Specification (ECM120.pdf). Header is limited to ACM and ECM Subclasses.
| #define ACM_FUNC_DESC 0x02 |
| #define ACM_SUBCLASS 0x02 |
Communications Class Subclass Codes.
| #define ACM_VENDOR_PROTOCOL 0xFF |
| #define AT_CMD_V250_PROTOCOL 0x01 |
Communications Class Protocol Codes.
| #define CALL_MANAGEMENT_FUNC_DESC 0x01 |
| #define CDC_GET_ENC_RSP 0x01 |
| #define CDC_SEND_ENC_CMD 0x00 |
PSTN Subclass Specific Requests for ACM devices.
| #define CDC_SRN_1_20 0x0120 __DEPRECATED_MACRO |
CDC Specification release number in BCD format.
| #define DATA_INTERFACE_CLASS 0x0A |
Data Class Interface Codes.
| #define ECM_SUBCLASS 0x06 |
| #define EEM_PROTOCOL 0x07 |
| #define EEM_SUBCLASS 0x0c |
| #define ETHERNET_FUNC_DESC 0x0F |
| #define ETHERNET_FUNC_DESC_NCM 0x1a |
| #define GET_CRC_MODE 0x89 |
| #define GET_ETHERNET_PM_FILTER 0x42 |
| #define GET_ETHERNET_STATISTIC 0x44 |
| #define GET_LINE_CODING 0x21 |
| #define GET_MAX_DATAGRAM_SIZE 0x87 |
| #define GET_NET_ADDRESS 0x81 |
| #define GET_NTB_FORMAT 0x83 |
| #define GET_NTB_INPUT_SIZE 0x85 |
| #define GET_NTB_PARAMETERS 0x80 |
Class-Specific Request Codes for NCM subclass.
| #define HEADER_FUNC_DESC 0x00 |
bDescriptor SubType for Communications Class Functional Descriptors
| #define NCM_DATA_PROTOCOL 0x01 |
| #define NCM_SUBCLASS 0x0d |
| #define PACKET_TYPE_ALL_MULTICAST 0x02 |
| #define PACKET_TYPE_BROADCAST 0x08 |
| #define PACKET_TYPE_DIRECTED 0x04 |
| #define PACKET_TYPE_MULTICAST 0x10 |
Ethernet Packet Filter Bitmap.
| #define PACKET_TYPE_PROMISCUOUS 0x01 |
| #define SERIAL_STATE_BREAK 0x04 |
| #define SERIAL_STATE_FRAMING 0x10 |
| #define SERIAL_STATE_OVER_RUN 0x40 |
UART State Bitmap Values.
| #define SERIAL_STATE_PARITY 0x20 |
| #define SERIAL_STATE_RING_SIGNAL 0x08 |
| #define SERIAL_STATE_RX_CARRIER 0x01 |
| #define SERIAL_STATE_TX_CARRIER 0x02 |
| #define SET_CONTROL_LINE_STATE 0x22 |
| #define SET_CONTROL_LINE_STATE_DTR 0x01 |
| #define SET_CONTROL_LINE_STATE_RTS 0x02 |
Control Signal Bitmap Values for SetControlLineState.
| #define SET_CRC_MODE 0x8A |
| #define SET_ETHERNET_MULTICAST_FILTERS 0x40 |
Class-Specific Request Codes for Ethernet subclass.
| #define SET_ETHERNET_PACKET_FILTER 0x43 |
| #define SET_ETHERNET_PM_FILTER 0x41 |
| #define SET_LINE_CODING 0x20 |
| #define SET_MAX_DATAGRAM_SIZE 0x88 |
| #define SET_NET_ADDRESS 0x82 |
| #define SET_NTB_FORMAT 0x84 |
| #define SET_NTB_INPUT_SIZE 0x86 |
| #define UNION_FUNC_DESC 0x06 |
| #define USB_CDC_AUX_JACK_HOOK_STATE 0x08 |
PSTN Subclass Class-Specific Notification Codes.
| #define USB_CDC_CALL_STATE_CHANGE 0x28 |
Call state change notification.
| #define USB_CDC_CONNECTION_SPEED_CHANGE 0x2A |
Connection speed change notification.
| #define USB_CDC_ECM_STAT_BROADCAST_BYTES_RCV 0x10 |
Broadcast bytes received without errors.
| #define USB_CDC_ECM_STAT_BROADCAST_BYTES_XMIT 0x0A |
Broadcast bytes transmitted without errors.
| #define USB_CDC_ECM_STAT_BROADCAST_FRAMES_RCV 0x11 |
Broadcast frames received without errors.
| #define USB_CDC_ECM_STAT_BROADCAST_FRAMES_XMIT 0x0B |
Broadcast frames transmitted without errors.
| #define USB_CDC_ECM_STAT_DIRECTED_BYTES_RCV 0x0C |
Directed bytes received without errors.
| #define USB_CDC_ECM_STAT_DIRECTED_BYTES_XMIT 0x06 |
Directed bytes transmitted without errors.
| #define USB_CDC_ECM_STAT_DIRECTED_FRAMES_RCV 0x0D |
Directed frames received without errors.
| #define USB_CDC_ECM_STAT_DIRECTED_FRAMES_XMIT 0x07 |
Directed frames transmitted without errors.
| #define USB_CDC_ECM_STAT_MULTICAST_BYTES_RCV 0x0E |
Multicast bytes received without errors.
| #define USB_CDC_ECM_STAT_MULTICAST_BYTES_XMIT 0x08 |
Multicast bytes transmitted without errors.
| #define USB_CDC_ECM_STAT_MULTICAST_FRAMES_RCV 0x0F |
Multicast frames received without errors.
| #define USB_CDC_ECM_STAT_MULTICAST_FRAMES_XMIT 0x09 |
Multicast frames transmitted without errors.
| #define USB_CDC_ECM_STAT_RCV_CRC_ERROR 0x12 |
Frames received with circular redundancy check (CRC) or frame check sequence (FCS) error.
| #define USB_CDC_ECM_STAT_RCV_ERROR 0x04 |
Frames received with errors.
| #define USB_CDC_ECM_STAT_RCV_ERROR_ALIGNMENT 0x14 |
Frames received with alignment error.
| #define USB_CDC_ECM_STAT_RCV_NO_BUFFER 0x05 |
Frames missed, no buffers.
| #define USB_CDC_ECM_STAT_RCV_OK 0x02 |
Frames received without errors.
| #define USB_CDC_ECM_STAT_RCV_OVERRUN 0x19 |
Frames not received due to overrun.
| #define USB_CDC_ECM_STAT_RESERVED 0x00 |
ECM Subclass Ethernet Statistics Feature Selector Codes.
| #define USB_CDC_ECM_STAT_TRANSMIT_QUEUE_LENGTH 0x13 |
Length of transmit queue.
| #define USB_CDC_ECM_STAT_XMIT_DEFERRED 0x17 |
Frames transmitted after deferral.
| #define USB_CDC_ECM_STAT_XMIT_ERROR 0x03 |
Frames not transmitted, or transmitted with errors.
| #define USB_CDC_ECM_STAT_XMIT_HEARTBEAT_FAILURE 0x1B |
Frames transmitted with heartbeat failure.
| #define USB_CDC_ECM_STAT_XMIT_LATE_COLLISIONS 0x1D |
Late collisions detected.
| #define USB_CDC_ECM_STAT_XMIT_MAX_COLLISIONS 0x18 |
Frames not transmitted due to collisions.
| #define USB_CDC_ECM_STAT_XMIT_MORE_COLLISIONS 0x16 |
Frames transmitted with more than one collision.
| #define USB_CDC_ECM_STAT_XMIT_OK 0x01 |
Frames transmitted without errors.
| #define USB_CDC_ECM_STAT_XMIT_ONE_COLLISION 0x15 |
Frames transmitted with one collision.
| #define USB_CDC_ECM_STAT_XMIT_TIMES_CRS_LOST 0x1C |
Times carrier sense signal lost during transmission.
| #define USB_CDC_ECM_STAT_XMIT_UNDERRUN 0x1A |
Frames not transmitted due to underrun.
| #define USB_CDC_LINE_CODING_DATA_BITS_5 5 |
| #define USB_CDC_LINE_CODING_DATA_BITS_6 6 |
| #define USB_CDC_LINE_CODING_DATA_BITS_7 7 |
| #define USB_CDC_LINE_CODING_DATA_BITS_8 8 |
| #define USB_CDC_LINE_CODING_PARITY_EVEN 2 |
| #define USB_CDC_LINE_CODING_PARITY_MARK 3 |
| #define USB_CDC_LINE_CODING_PARITY_NO 0 |
| #define USB_CDC_LINE_CODING_PARITY_ODD 1 |
| #define USB_CDC_LINE_CODING_PARITY_SPACE 4 |
| #define USB_CDC_LINE_CODING_STOP_BITS_1 0 |
PSTN Subclass Line Coding Values.
| #define USB_CDC_LINE_CODING_STOP_BITS_1_5 1 |
| #define USB_CDC_LINE_CODING_STOP_BITS_2 2 |
| #define USB_CDC_LINE_CTRL_BAUD_RATE UART_LINE_CTRL_BAUD_RATE |
Enhance enum uart_line_ctrl with CDC specific values.
| #define USB_CDC_LINE_CTRL_BREAK BIT(5) |
| #define USB_CDC_LINE_CTRL_DCD UART_LINE_CTRL_DCD |
| #define USB_CDC_LINE_CTRL_DSR UART_LINE_CTRL_DSR |
| #define USB_CDC_LINE_CTRL_FRAMING BIT(7) |
| #define USB_CDC_LINE_CTRL_OVER_RUN BIT(9) |
| #define USB_CDC_LINE_CTRL_PARITY BIT(8) |
| #define USB_CDC_LINE_CTRL_RING_SIGNAL BIT(6) |
| #define USB_CDC_LINE_STATE_CHANGE 0x23 |
Line state change notification.
| #define USB_CDC_NCM_NCAP_CRC_MODE BIT(4) |
Function can process SetCrcMode and GetCrcMode requests.
| #define USB_CDC_NCM_NCAP_ENCAP_COMMAND BIT(2) |
Function can process SendEncapsulatedCommand and GetEncapsulatedResponse requests.
| #define USB_CDC_NCM_NCAP_ETH_FILTER BIT(0) |
Function can process SetEthernetPacketFilter requests.
| #define USB_CDC_NCM_NCAP_MAX_DATAGRAM_SIZE BIT(3) |
Function can process SetMaxDatagramSize and GetMaxDatagramSize requests.
| #define USB_CDC_NCM_NCAP_NET_ADDRESS BIT(1) |
Function can process GetNetAddress and SetNetAddress requests.
| #define USB_CDC_NCM_NCAP_NTB_INPUT_SIZE BIT(5) |
Function can process 8-byte forms of GetNtbInputSize and SetNtbInputSize requests.
| #define USB_CDC_NETWORK_CONNECTION 0x00 |
Communications Class Notification Codes.
| #define USB_CDC_RESPONSE_AVAILABLE 0x01 |
Response available notification.
| #define USB_CDC_RING_DETECT 0x09 |
Ring detect notification.
| #define USB_CDC_SERIAL_STATE 0x20 |
Serial state notification.
| #define USB_CDC_SERIAL_STATE_BREAK BIT(2) |
| #define USB_CDC_SERIAL_STATE_FRAMING BIT(4) |
| #define USB_CDC_SERIAL_STATE_OVERRUN BIT(6) |
PSTN UART State Bitmap Values.
| #define USB_CDC_SERIAL_STATE_PARITY BIT(5) |
| #define USB_CDC_SERIAL_STATE_RINGSIGNAL BIT(3) |
| #define USB_CDC_SERIAL_STATE_RXCARRIER BIT(0) |
| #define USB_CDC_SERIAL_STATE_TXCARRIER BIT(1) |