Function metro_m4::uart

source ·
pub fn uart(
    clocks: &mut GenericClockController,
    baud: impl Into<Hertz>,
    sercom: UartSercom,
    mclk: &mut MCLK,
    uart_rx: impl Into<UartRx>,
    uart_tx: impl Into<UartTx>
) -> Uart
Expand description

Convenience for setting up the labelled RX, TX pins to operate as a UART device running at the specified baud.