|
ESPHome 2026.11.0b6
|
Forwards the bit rate a USB host sets on a CDC ACM port to the main loop. More...
#include <cdc_acm.h>
Public Member Functions | |
| template<typename F > | |
| void | add_on_rate_callback (F &&callback) |
| Call from setup(). | |
Protected Member Functions | |
| void | set_driver_callbacks_ () |
Static Protected Member Functions | |
| static void | cdc_dte_rate_callback_ (const device *device, uint32_t rate) |
Protected Attributes | |
| CallbackManager< void(const device *, uint32_t)> | rate_callbacks_ |
Forwards the bit rate a USB host sets on a CDC ACM port to the main loop.
|
inline |
|
staticprotected |
Definition at line 24 of file cdc_acm.cpp.
|
protected |
Definition at line 14 of file cdc_acm.cpp.
|
protected |