[][src]Struct stm32f3xx_hal_v2::serial::Rx

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

Serial receiver

Implementations

impl Rx<USART1>[src]

pub fn read_exact<B, C>(self, buffer: B, channel: C) -> Transfer<B, C, Self> where
    Self: OnChannel<C>,
    B: WriteBuffer<Word = u8> + 'static,
    C: Channel
[src]

Fill the buffer with received data using DMA.

impl Rx<USART2>[src]

pub fn read_exact<B, C>(self, buffer: B, channel: C) -> Transfer<B, C, Self> where
    Self: OnChannel<C>,
    B: WriteBuffer<Word = u8> + 'static,
    C: Channel
[src]

Fill the buffer with received data using DMA.

impl Rx<USART3>[src]

pub fn read_exact<B, C>(self, buffer: B, channel: C) -> Transfer<B, C, Self> where
    Self: OnChannel<C>,
    B: WriteBuffer<Word = u8> + 'static,
    C: Channel
[src]

Fill the buffer with received data using DMA.

Trait Implementations

impl OnChannel<C3> for Rx<USART3>[src]

impl OnChannel<C5> for Rx<USART1>[src]

impl OnChannel<C6> for Rx<USART2>[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

impl Target for Rx<USART1>[src]

impl Target for Rx<USART2>[src]

impl Target for Rx<USART3>[src]

Auto Trait Implementations

impl<USART> Send for Rx<USART> where
    USART: Send
[src]

impl<USART> Sync for Rx<USART> where
    USART: Sync
[src]

impl<USART> Unpin for Rx<USART> where
    USART: Unpin
[src]

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.