[−][src]Trait k210_hal::serial::SerialExt
Extension trait that constrains UART peripherals
Required methods
fn configure(
self,
pins: PINS,
baud_rate: Bps,
clocks: &Clocks
) -> Serial<Self, PINS>
self,
pins: PINS,
baud_rate: Bps,
clocks: &Clocks
) -> Serial<Self, PINS>
Configures a UART peripheral to provide serial communication
Implementations on Foreign Types
impl<TX: ExternalPin, RX: ExternalPin> SerialExt<(TX, RX)> for UARTHS
[src]
fn configure(
self,
pins: (TX, RX),
baud_rate: Bps,
clocks: &Clocks
) -> Serial<UARTHS, (TX, RX)>
[src]
self,
pins: (TX, RX),
baud_rate: Bps,
clocks: &Clocks
) -> Serial<UARTHS, (TX, RX)>