pub const fn lpuart_baud(bps: u32) -> Baud
Expand description
Computes a UART baud rate.
Note that this can evaluate at compile time. This function assumes that
the UART clock matches UART_FREQUENCY
.
use teensy4_bsp as bsp;
use teensy4_bsp::board;
const MY_BAUD: board::LpuartBaud = board::lpuart_baud(9600);