pub fn calculate_baud_divisor(baud: u32) -> Result<u16, Ch34xError>Expand description
Calculate the CH340 prescaler and divisor register value for a target baud rate.
pub fn calculate_baud_divisor(baud: u32) -> Result<u16, Ch34xError>Calculate the CH340 prescaler and divisor register value for a target baud rate.