[][src]Trait k210_hal::serial::SerialExt

pub trait SerialExt<PINS>: Sized {
    fn configure(
        self,
        pins: PINS,
        baud_rate: Bps,
        clocks: &Clocks
    ) -> Serial<Self, PINS>; }

Extension trait that constrains UART peripherals

Required methods

fn configure(
    self,
    pins: PINS,
    baud_rate: Bps,
    clocks: &Clocks
) -> Serial<Self, PINS>

Configures a UART peripheral to provide serial communication

Loading content...

Implementations on Foreign Types

impl<TX: ExternalPin, RX: ExternalPin> SerialExt<(TX, RX)> for UARTHS[src]

Loading content...

Implementors

impl<UART: UartX, TX: ExternalPin, RX: ExternalPin> SerialExt<(TX, RX)> for UART[src]

Loading content...