nRF52840 only: Descriptors used in the USB CDC class implementation.A group of macros used to initialize CDC descriptors More...
Macros |
|
| #define | APP_USBD_CDC_IAD_DSC (interface_number, subclass, protocol) |
|
Initializer of IAD descriptor for CDC class.
More...
|
|
| #define | APP_USBD_CDC_COMM_INTERFACE_DSC (interface_number, subclass, protocol) |
|
Initializer of interface descriptor for CDC COMM class.
More...
|
|
| #define | APP_USBD_CDC_DATA_INTERFACE_DSC (interface_number, subclass, protocol) |
|
Initializer of interface descriptor for CDC DATA class.
More...
|
|
| #define | APP_USBD_CDC_COM_EP_DSC (endpoint_in, ep_size) |
|
Initializer of endpoint descriptor for CDC COM class.
More...
|
|
| #define | APP_USBD_CDC_DATA_EP_DSC (endpoint_in, endpoint_out, ep_size) |
|
Initializer of endpoint descriptors for CDC DATA class.
More...
|
|
| #define | APP_USBD_CDC_HEADER_DSC (bcd_cdc) |
|
Initializer of endpoint descriptors for CDC header descriptor.
More...
|
|
| #define | APP_USBD_CDC_CALL_MGMT_DSC (capabilities, data_interface) |
|
Initializer of endpoint descriptors for CDC call management descriptor.
More...
|
|
| #define | APP_USBD_CDC_ACM_DSC (capabilities) |
|
Initializer of endpoint descriptors for CDC DATA class.
More...
|
|
| #define | APP_USBD_CDC_UNION_DSC (control_interface,...) |
|
Initializer of endpoint descriptors for CDC DATA class.
More...
|
|
Detailed Description
nRF52840 only: Descriptors used in the USB CDC class implementation.
A group of macros used to initialize CDC descriptors
Macro Definition Documentation
| #define APP_USBD_CDC_ACM_DSC | ( | capabilities | ) |
Initializer of endpoint descriptors for CDC DATA class.
- Parameters
-
capabilities Capabilities.
| #define APP_USBD_CDC_CALL_MGMT_DSC | ( | capabilities, | |
| data_interface | |||
| ) |
Initializer of endpoint descriptors for CDC call management descriptor.
- Parameters
-
capabilities Capabilities. data_interface Data interface.
| #define APP_USBD_CDC_COM_EP_DSC | ( | endpoint_in, | |
| ep_size | |||
| ) |
Initializer of endpoint descriptor for CDC COM class.
- Parameters
-
endpoint_in IN endpoint. ep_size Endpoint size.
| #define APP_USBD_CDC_COMM_INTERFACE_DSC | ( | interface_number, | |
| subclass, | |||
| protocol | |||
| ) |
Initializer of interface descriptor for CDC COMM class.
- Parameters
-
interface_number Interface number. subclass Subclass, app_usbd_cdc_subclass_t . protocol Protocol, app_usbd_cdc_comm_protocol_t .
| #define APP_USBD_CDC_DATA_EP_DSC | ( | endpoint_in, | |
| endpoint_out, | |||
| ep_size | |||
| ) |
Initializer of endpoint descriptors for CDC DATA class.
- Parameters
-
endpoint_in IN endpoint. endpoint_out OUT endpoint. ep_size Endpoint size.
| #define APP_USBD_CDC_DATA_INTERFACE_DSC | ( | interface_number, | |
| subclass, | |||
| protocol | |||
| ) |
Initializer of interface descriptor for CDC DATA class.
- Parameters
-
interface_number Interface number. subclass Subclass, app_usbd_cdc_subclass_t . protocol Protocol, app_usbd_cdc_data_protocol_t .
| #define APP_USBD_CDC_HEADER_DSC | ( | bcd_cdc | ) |
Initializer of endpoint descriptors for CDC header descriptor.
- Parameters
-
bcd_cdc BCD CDC version.
| #define APP_USBD_CDC_IAD_DSC | ( | interface_number, | |
| subclass, | |||
| protocol | |||
| ) |
Initializer of IAD descriptor for CDC class.
- Parameters
-
interface_number Interface number. subclass Subclass, app_usbd_cdc_subclass_t . protocol Protocol, app_usbd_cdc_comm_protocol_t .
| #define APP_USBD_CDC_UNION_DSC | ( | control_interface, | |
| ... | |||
| ) |
Initializer of endpoint descriptors for CDC DATA class.
- Parameters
-
control_interface Control interface. ... Subordinate interfaces list.