[][src]Struct alt_stm32f30x_hal::serial::Rx

pub struct Rx<USART> { /* fields omitted */ }

Serial receiver

Methods

impl Rx<USART1>[src]

pub fn clear_overrun_error(&mut self) -> u8[src]

clear overrun

pub fn clear_framing_error(&mut self) -> u8[src]

clear framing error

pub fn clear_noise_error(&mut self) -> u8[src]

clear noise error

impl Rx<USART2>[src]

pub fn clear_overrun_error(&mut self) -> u8[src]

clear overrun

pub fn clear_framing_error(&mut self) -> u8[src]

clear framing error

pub fn clear_noise_error(&mut self) -> u8[src]

clear noise error

impl Rx<USART3>[src]

pub fn clear_overrun_error(&mut self) -> u8[src]

clear overrun

pub fn clear_framing_error(&mut self) -> u8[src]

clear framing error

pub fn clear_noise_error(&mut self) -> u8[src]

clear noise error

Trait Implementations

impl DmaChannel for Rx<USART1>[src]

type Dma = C5

Dma

impl DmaChannel for Rx<USART2>[src]

type Dma = C6

Dma

impl DmaChannel for Rx<USART3>[src]

type Dma = C3

Dma

impl<B> ReadDma<B> for Rx<USART1> where
    B: AsMut<[u8]>, 
[src]

impl<B> ReadDma<B> for Rx<USART2> where
    B: AsMut<[u8]>, 
[src]

impl<B> ReadDma<B> for Rx<USART3> where
    B: AsMut<[u8]>, 
[src]

impl Read<u8> for Rx<USART1>[src]

type Error = Error

Read error

impl Read<u8> for Rx<USART2>[src]

type Error = Error

Read error

impl Read<u8> for Rx<USART3>[src]

type Error = Error

Read error

Auto Trait Implementations

impl<USART> Send for Rx<USART> where
    USART: Send

impl<USART> Sync for Rx<USART> where
    USART: Sync

Blanket Implementations

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> Into<U> for T where
    U: From<T>, 
[src]

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

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.

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

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self