[][src]Struct stm32f1xx_hal::serial::Rx

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

Serial receiver

Methods

impl Rx<USART1>[src]

pub fn listen(&mut self)[src]

pub fn unlisten(&mut self)[src]

impl Rx<USART2>[src]

pub fn listen(&mut self)[src]

pub fn unlisten(&mut self)[src]

impl Rx<USART3>[src]

pub fn listen(&mut self)[src]

pub fn unlisten(&mut self)[src]

impl Rx<USART1>[src]

pub fn with_dma(self, channel: C5) -> RxDma1[src]

impl Rx<USART2>[src]

pub fn with_dma(self, channel: C6) -> RxDma2[src]

impl Rx<USART3>[src]

pub fn with_dma(self, channel: C3) -> RxDma3[src]

Trait Implementations

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

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

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.