Function feather_m4::uart
source · pub fn uart(
clocks: &mut GenericClockController,
baud: impl Into<Hertz>,
sercom: UartSercom,
mclk: &mut MCLK,
rx: impl Into<UartRx>,
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.