![]() |
nRF5 SDK
v12.3.0
|
| Choose documentation: | nRF5 SDK | S130 SoftDevice API | S132 SoftDevice API | S212 SoftDevice API | S332 SoftDevice API |
nRF52840 only: Internals of the USB ACM class implementation. More...
Data Structures | |
| struct | app_usbd_cdc_acm_inst_t |
| CDC ACM class part of class instance data. More... | |
| struct | app_usbd_cdc_acm_notify_t |
| CDC ACM serial state class notify. More... | |
| struct | app_usbd_cdc_acm_req_t |
| CDC ACM class specific request handled via control endpoint. More... | |
| struct | app_usbd_cdc_acm_ctx_t |
| CDC ACM class context. More... | |
Macros | |
| #define | APP_USBD_CDC_ACM_CONFIG(iface_comm, epin_comm, iface_data, epin_data, epout_data) |
| CDC ACM class configuration macro. More... | |
| #define | APP_USBD_CDC_ACM_INSTANCE_SPECIFIC_DEC app_usbd_cdc_acm_inst_t inst; |
| Specific class constant data for cdc_acm class. More... | |
| #define | APP_USBD_CDC_ACM_INST_CONFIG(descriptors, user_event_handler) |
| Configures cdc_acm class instance. More... | |
| #define | APP_USBD_CDC_ACM_DATA_SPECIFIC_DEC app_usbd_cdc_acm_ctx_t ctx; |
| Specific class data for cdc_acm class. More... | |
| #define | APP_USBD_CDC_ACM_DSC_CONFIG(interface_number,...) |
| CDC ACM class descriptors config macro. More... | |
| #define | APP_USBD_CDC_ACM_GLOBAL_DEF_INTERNAL(instance_name,interfaces_configs,user_ev_handler,raw_descriptors) |
| Global definition of app_usbd_cdc_acm_t class. More... | |
Typedefs | |
| typedef void(* | app_usbd_cdc_acm_user_ev_handler_t )(app_usbd_class_inst_t const *p_inst, enum app_usbd_cdc_acm_user_event_e event) |
| User event handler. More... | |
Functions | |
| APP_USBD_CLASS_FORWARD (app_usbd_cdc_acm) | |
| Forward declaration of type defined by APP_USBD_CLASS_TYPEDEF in cdc_acm class. | |
Variables | |
| const app_usbd_class_methods_t | app_usbd_cdc_acm_class_methods |
| Public cdc_acm class interface. | |
nRF52840 only: Internals of the USB ACM class implementation.
| #define APP_USBD_CDC_ACM_CONFIG | ( | iface_comm, | |
| epin_comm, | |||
| iface_data, | |||
| epin_data, | |||
| epout_data | |||
| ) |
CDC ACM class configuration macro.
Used by APP_USBD_CDC_ACM_GLOBAL_DEF
| iface_comm | Interface number of cdc_acm control |
| epin_comm | COMM subclass IN endpoint |
| iface_data | Interface number of cdc_acm DATA |
| epin_data | COMM subclass IN endpoint |
| epout_data | COMM subclass OUT endpoint |
| #define APP_USBD_CDC_ACM_DATA_SPECIFIC_DEC app_usbd_cdc_acm_ctx_t ctx; |
Specific class data for cdc_acm class.
| #define APP_USBD_CDC_ACM_DSC_CONFIG | ( | interface_number, | |
| ... | |||
| ) |
CDC ACM class descriptors config macro.
| interface_number | Interface number |
| ... | Extracted endpoint list |
| #define APP_USBD_CDC_ACM_GLOBAL_DEF_INTERNAL | ( | instance_name, | |
| interfaces_configs, | |||
| user_ev_handler, | |||
| raw_descriptors | |||
| ) |
Global definition of app_usbd_cdc_acm_t class.
| #define APP_USBD_CDC_ACM_INST_CONFIG | ( | descriptors, | |
| user_event_handler | |||
| ) |
Configures cdc_acm class instance.
| descriptors | Mass storage class descriptors (raw table) |
| user_event_handler | User event handler |
| #define APP_USBD_CDC_ACM_INSTANCE_SPECIFIC_DEC app_usbd_cdc_acm_inst_t inst; |
Specific class constant data for cdc_acm class.
| typedef void(* app_usbd_cdc_acm_user_ev_handler_t)(app_usbd_class_inst_t const *p_inst, enum app_usbd_cdc_acm_user_event_e event) |
User event handler.
| [in] | p_inst | Class instance |
| [in] | event | User event |