esp_idf_svc::hal::usb_serialType Alias UsbSerialConfig
Source pub type UsbSerialConfig = Config;
Expand description
A type alias for the USB Serial driver configuration
struct UsbSerialConfig {
pub tx_buffer_size: usize,
pub rx_buffer_size: usize,
}
Implementations
Create a new configuration with default values
Set the transmit buffer size
Set the receive buffer size
Trait Implementations
Performs copy-assignment from
source
.
Read more
Formats the value using the given formatter.
Read more
Returns the “default value” for a type.
Read more