usbus_cdcacm_device Struct Reference

USBUS CDC ACM context struct. More...

Detailed Description

USBUS CDC ACM context struct.

Definition at line 132 of file acm.h.

#include <acm.h>

Data Fields

usbus_handler_t handler_ctrl
 control handler

 
usbus_interface_t iface_ctrl
 CDC control interface

 
usbus_interface_t iface_data
 CDC data interface

 
usbus_descr_gen_t cdcacm_descr
 CDC descriptor generator

 
usbus_cdcacm_cb_t cb
 Callback for data handlers

 
usbus_cdcacm_coding_cb_t coding_cb
 Callback for ACM coding changes.
 
tsrb_t tsrb
 TSRB for data to the host

 
usbus_tusbus
 USBUS reference

 
size_t occupied
 Number of bytes for the host

 
usbus_cdcacm_line_state_t state
 Current line state

 
event_t flush
 device2host forced flush event

 
usb_req_cdcacm_coding_t coding
 Current coding configuration

 

The documentation for this struct was generated from the following file: