app_usbd_cdc_acm_ctx_t

nRF5 SDK v17.0.2

CDC ACM class context. More...

#include <app_usbd_cdc_acm_internal.h>

Data Fields

app_usbd_cdc_acm_req_t request
CDC ACM class request.
app_usbd_cdc_line_coding_t line_coding
CDC ACM current line coding.
uint16_t line_state
CDC ACM line state bitmap, DTE side.
uint16_t serial_state
CDC ACM serial state bitmap, DCE side.
cdc_rx_buffer_t rx_transfer [2]
User receive transfers.
uint8_t internal_rx_buf [ NRF_DRV_USBD_EPSIZE ]
Internal receive buffer.
uint8_t * p_copy_pos
Current copy position from internal buffer.
size_t bytes_left
Bytes left in internal buffer to copy.
size_t bytes_read
Bytes currently written to user buffer.
size_t last_read
Bytes read in last transfer.
size_t cur_read
Bytes currently read to internal buffer.

Detailed Description

CDC ACM class context.

  • components/libraries/usbd/class/cdc/acm/app_usbd_cdc_acm_internal.h