Function metro_m0::uart

source ·
pub fn uart(
    clocks: &mut GenericClockController,
    baud: impl Into<Hertz>,
    sercom0: SERCOM0,
    pm: &mut PM,
    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.