Function samd11_bare::uart
source · pub fn uart(
clocks: &mut GenericClockController,
baud: impl Into<Hertz>,
sercom0: SERCOM0,
pm: &mut PM,
rx: impl Into<UartRx>,
tx: impl Into<UartTx>
) -> Uart
Expand description
Convenience for setting up the D1 and D14 pins to operate as UART RX/TX (respectively) running at the specified baud.