| 
    Zephyr Project API
    3.3.0
    
   A Scalable Open Source RTOS 
   | 
 
Public APIs for the CDC ACM class driver. More...
Go to the source code of this file.
Typedefs | |
| typedef void(* | cdc_dte_rate_callback_t) (const struct device *dev, uint32_t rate) | 
| A function that is called when the USB host changes the baud rate.  More... | |
Functions | |
| int | cdc_acm_dte_rate_callback_set (const struct device *dev, cdc_dte_rate_callback_t callback) | 
| Set the callback for dwDTERate SetLineCoding requests.  More... | |
Public APIs for the CDC ACM class driver.
| cdc_dte_rate_callback_t | 
A function that is called when the USB host changes the baud rate.
| dev | Device struct for the CDC ACM device. | 
| rate | New USB baud rate | 
| int cdc_acm_dte_rate_callback_set | ( | const struct device * | dev, | 
| cdc_dte_rate_callback_t | callback | ||
| ) | 
Set the callback for dwDTERate SetLineCoding requests.
The callback is invoked when the USB host changes the baud rate.
| dev | CDC ACM device structure. | 
| callback | Event handler. |