[][src]Struct atsam4_hal::serial::Serial0

pub struct Serial0 { /* fields omitted */ }

Implementations

impl Serial0[src]

pub fn new(
    uart: UART0,
    clock: UART0Clock<Enabled>,
    _rx_pin: Pa9<PfA>,
    _tx_pin: Pa10<PfA>,
    baud_rate: Bps,
    parity: Option<Parity>
) -> Self
[src]

pub fn write_string_blocking(&mut self, data: &str)[src]

Trait Implementations

impl Read<u8> for Serial0[src]

type Error = Error

Read error

impl Write<u8> for Serial0[src]

type Error = Error

Write error

Auto Trait Implementations

impl Send for Serial0

impl !Sync for Serial0

impl Unpin for Serial0

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.