[][src]Struct feather_m0::sercom::UART0

pub struct UART0 { /* fields omitted */ }

Methods

impl UART0[src]

pub fn new<F>(
    clock: &Sercom0CoreClock,
    freq: F,
    sercom: SERCOM0,
    nvic: &mut NVIC,
    pm: &mut PM,
    pinout: UART0Pinout
) -> UART0 where
    F: Into<Hertz>, 
[src]

Trait Implementations

impl Write for UART0[src]

fn write_char(&mut self, c: char) -> Result<(), Error>
1.1.0
[src]

Writes a [char] into this writer, returning whether the write succeeded. Read more

fn write_fmt(&mut self, args: Arguments) -> Result<(), Error>
1.0.0
[src]

Glue for usage of the [write!] macro with implementors of this trait. Read more

impl Read<u8> for UART0[src]

type Error = ()

Read error

impl Default<u8> for UART0[src]

impl Write<u8> for UART0[src]

type Error = ()

Write error

Auto Trait Implementations

impl Send for UART0

impl !Sync for UART0

Blanket Implementations

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<S, Word> Write for S where
    S: Default<Word>,
    Word: Clone

type Error = <S as Write<Word>>::Error

The type of error that can occur when writing