![]() |
nRF5 SDK
v12.3.0
|
| Choose documentation: | nRF5 SDK | S130 SoftDevice API | S132 SoftDevice API | S212 SoftDevice API | S332 SoftDevice API |
nRF52840 only: Variable types used by the CDC class implementation. More...
Data Structures | |
| struct | app_usbd_cdc_desc_header_t |
| Header Functional Descriptor. More... | |
| struct | app_usbd_cdc_desc_call_mgmt_t |
| CDC Call Management Functional Descriptor. More... | |
| struct | app_usbd_cdc_desc_acm_t |
| CDC ACM Functional Descriptor. More... | |
| struct | app_usbd_cdc_desc_union_t |
| Union Functional Descriptor. More... | |
| struct | app_usbd_cdc_desc_country_sel_t |
| Country Selection Functional Descriptor. More... | |
| struct | app_usbd_cdc_notify_t |
| Notification sent via CDC COMM endpoint. More... | |
| struct | app_usbd_cdc_line_coding_t |
| CDC line coding structure. More... | |
Macros | |
| #define | APP_USBD_CDC_COMM_CLASS 0x02 |
| Communications Interface Class code. More... | |
| #define | APP_USBD_CDC_DATA_CLASS 0x0A |
| Data Class Interface code. More... | |
nRF52840 only: Variable types used by the CDC class implementation.
| #define APP_USBD_CDC_COMM_CLASS 0x02 |
Communications Interface Class code.
Used for control interface in communication class. app_usbd_descriptor_iface_t::bInterfaceClass
| #define APP_USBD_CDC_DATA_CLASS 0x0A |
Data Class Interface code.
Used for data interface in communication class. app_usbd_descriptor_iface_t::bInterfaceClass
ACM capabilities.
app_usbd_cdc_desc_acm_t::bmCapabilities bit
Call management capabilities.
app_usbd_cdc_desc_call_mgmt_t::bmCapabilities bit
| Enumerator | |
|---|---|
| APP_USBD_CDC_CALL_MGMT_SUPPORTED |
Call management capability bit 0 |
| APP_USBD_CDC_CALL_MGMT_OVER_DCI |
Call management capability bit 1 |
CDC protocol possible values.
app_usbd_descriptor_iface_t::bInterfaceProtocol
CDC data interface protocols possible values.
CDC Functional Descriptor subtypes.
Possible values of app_usbd_cdc_line_coding_t::bParityType.
Possible values of app_usbd_cdc_line_coding_t::bCharFormat.
| Enumerator | |
|---|---|
| APP_USBD_CDC_LINE_STOPBIT_1 |
1 stop bit |
| APP_USBD_CDC_LINE_STOPBIT_1_5 |
1.5 stop bits |
| APP_USBD_CDC_LINE_STOPBIT_2 |
2 stop bits |
CDC Notifications.
CDC Requests.
CDC subclass possible values.
app_usbd_descriptor_iface_t::bInterfaceSubClass