ESPHome 2026.1.0-dev
Loading...
Searching...
No Matches
esphome::usb_cdc_acm::CDCEvent Struct Reference

#include <usb_cdc_acm.h>

Public Member Functions

void release ()
 

Data Fields

CDCEventType type
 
union { 
 
   struct { 
 
      bool   dtr 
 
      bool   rts 
 
   }   line_state 
 
   struct { 
 
      uint32_t   bit_rate 
 
      uint8_t   stop_bits 
 
      uint8_t   parity 
 
      uint8_t   data_bits 
 
   }   line_coding 
 
data 
 

Detailed Description

Definition at line 29 of file usb_cdc_acm.h.

Member Function Documentation

◆ release()

void esphome::usb_cdc_acm::CDCEvent::release ( )
inline

Definition at line 45 of file usb_cdc_acm.h.

Field Documentation

◆ bit_rate

uint32_t esphome::usb_cdc_acm::CDCEvent::bit_rate

Definition at line 37 of file usb_cdc_acm.h.

◆ [union]

union { ... } esphome::usb_cdc_acm::CDCEvent::data

◆ data_bits

uint8_t esphome::usb_cdc_acm::CDCEvent::data_bits

Definition at line 40 of file usb_cdc_acm.h.

◆ dtr

bool esphome::usb_cdc_acm::CDCEvent::dtr

Definition at line 33 of file usb_cdc_acm.h.

◆ [struct]

struct { ... } esphome::usb_cdc_acm::CDCEvent::line_coding

◆ [struct]

struct { ... } esphome::usb_cdc_acm::CDCEvent::line_state

◆ parity

uint8_t esphome::usb_cdc_acm::CDCEvent::parity

Definition at line 39 of file usb_cdc_acm.h.

◆ rts

bool esphome::usb_cdc_acm::CDCEvent::rts

Definition at line 34 of file usb_cdc_acm.h.

◆ stop_bits

uint8_t esphome::usb_cdc_acm::CDCEvent::stop_bits

Definition at line 38 of file usb_cdc_acm.h.

◆ type

CDCEventType esphome::usb_cdc_acm::CDCEvent::type

Definition at line 30 of file usb_cdc_acm.h.


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