[][src]Struct drone_stm32_map_periph_uart::UartPeriph

pub struct UartPeriph<T: UartMap> {
    pub rcc_busenr_uarten: T::SRccBusenrUarten,
    pub rcc_busrstr_uartrst: T::SRccBusrstrUartrst,
    pub rcc_bussmenr_uartsmen: T::SRccBussmenrUartsmen,
    pub rcc_ccipr_uartsel: T::SRccCciprUartsel,
    pub uart_cr1: T::SUartCr1,
    pub uart_cr2: T::SUartCr2,
    pub uart_cr3: T::SUartCr3,
    pub uart_brr: T::SUartBrr,
    pub uart_gtpr: T::SUartGtprOpt,
    pub uart_rtor: T::SUartRtorOpt,
    pub uart_rqr: T::SUartRqr,
    pub uart_isr: T::SUartIsr,
    pub uart_icr: T::SUartIcr,
    pub uart_rdr: T::SUartRdr,
    pub uart_tdr: T::SUartTdr,
}

Generic UART peripheral.

Fields

rcc_busenr_uarten: T::SRccBusenrUartenrcc_busrstr_uartrst: T::SRccBusrstrUartrstrcc_bussmenr_uartsmen: T::SRccBussmenrUartsmenrcc_ccipr_uartsel: T::SRccCciprUartseluart_cr1: T::SUartCr1uart_cr2: T::SUartCr2uart_cr3: T::SUartCr3uart_brr: T::SUartBrruart_gtpr: T::SUartGtprOptuart_rtor: T::SUartRtorOptuart_rqr: T::SUartRqruart_isr: T::SUartIsruart_icr: T::SUartIcruart_rdr: T::SUartRdruart_tdr: T::SUartTdr

Auto Trait Implementations

impl<T> Unpin for UartPeriph<T> where
    <T as RccBusenrUarten>::SRccBusenrUarten: Unpin,
    <T as RccBusrstrUartrst>::SRccBusrstrUartrst: Unpin,
    <T as RccBussmenrUartsmen>::SRccBussmenrUartsmen: Unpin,
    <T as RccCciprUartsel>::SRccCciprUartsel: Unpin,
    <T as UartBrr<T>>::SUartBrr: Unpin,
    <T as UartCr1<T>>::SUartCr1: Unpin,
    <T as UartCr2<T>>::SUartCr2: Unpin,
    <T as UartCr3<T>>::SUartCr3: Unpin,
    <T as UartGtprOpt>::SUartGtprOpt: Unpin,
    <T as UartIcr<T>>::SUartIcr: Unpin,
    <T as UartIsr<T>>::SUartIsr: Unpin,
    <T as UartRdr<T>>::SUartRdr: Unpin,
    <T as UartRqr<T>>::SUartRqr: Unpin,
    <T as UartRtorOpt>::SUartRtorOpt: Unpin,
    <T as UartTdr<T>>::SUartTdr: Unpin

impl<T> Send for UartPeriph<T> where
    <T as RccBusenrUarten>::SRccBusenrUarten: Send,
    <T as RccBusrstrUartrst>::SRccBusrstrUartrst: Send,
    <T as RccBussmenrUartsmen>::SRccBussmenrUartsmen: Send,
    <T as RccCciprUartsel>::SRccCciprUartsel: Send,
    <T as UartBrr<T>>::SUartBrr: Send,
    <T as UartCr1<T>>::SUartCr1: Send,
    <T as UartCr2<T>>::SUartCr2: Send,
    <T as UartCr3<T>>::SUartCr3: Send,
    <T as UartGtprOpt>::SUartGtprOpt: Send,
    <T as UartIcr<T>>::SUartIcr: Send,
    <T as UartIsr<T>>::SUartIsr: Send,
    <T as UartRdr<T>>::SUartRdr: Send,
    <T as UartRqr<T>>::SUartRqr: Send,
    <T as UartRtorOpt>::SUartRtorOpt: Send,
    <T as UartTdr<T>>::SUartTdr: Send

impl<T> Sync for UartPeriph<T> where
    <T as RccBusenrUarten>::SRccBusenrUarten: Sync,
    <T as RccBusrstrUartrst>::SRccBusrstrUartrst: Sync,
    <T as RccBussmenrUartsmen>::SRccBussmenrUartsmen: Sync,
    <T as RccCciprUartsel>::SRccCciprUartsel: Sync,
    <T as UartBrr<T>>::SUartBrr: Sync,
    <T as UartCr1<T>>::SUartCr1: Sync,
    <T as UartCr2<T>>::SUartCr2: Sync,
    <T as UartCr3<T>>::SUartCr3: Sync,
    <T as UartGtprOpt>::SUartGtprOpt: Sync,
    <T as UartIcr<T>>::SUartIcr: Sync,
    <T as UartIsr<T>>::SUartIsr: Sync,
    <T as UartRdr<T>>::SUartRdr: Sync,
    <T as UartRqr<T>>::SUartRqr: Sync,
    <T as UartRtorOpt>::SUartRtorOpt: Sync,
    <T as UartTdr<T>>::SUartTdr: Sync

Blanket Implementations

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

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, 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]