USB CDC ACM class configuration

nRF5 SDK v16.0.0

Macros

#define APP_USBD_CDC_ACM_ENABLED
Enabling USBD CDC ACM Class library. More...
#define APP_USBD_CDC_ACM_ZLP_ON_EPSIZE_WRITE
Send ZLP on write with same size as endpoint. More...

Detailed Description

Macro Definition Documentation

#define APP_USBD_CDC_ACM_ENABLED

Enabling USBD CDC ACM Class library.

Set to 1 to activate.

Note
This is an NRF_CONFIG macro.
#define APP_USBD_CDC_ACM_ZLP_ON_EPSIZE_WRITE

Send ZLP on write with same size as endpoint.

If enabled, CDC ACM class will automatically send a zero length packet after transfer which has the same size as endpoint. This may limit throughput if a lot of binary data is sent, but in terminal mode operation it makes sure that the data is always displayed right after it is sent.

Set to 1 to activate.

Note
This is an NRF_CONFIG macro.