Struct stm32f407g_disc::stm32::uart4::RegisterBlock[]

#[repr(C)]
pub struct RegisterBlock { pub sr: Reg<u32, _SR>, pub dr: Reg<u32, _DR>, pub brr: Reg<u32, _BRR>, pub cr1: Reg<u32, _CR1>, pub cr2: Reg<u32, _CR2>, pub cr3: Reg<u32, _CR3>, }

Register block

Fields

sr: Reg<u32, _SR>

0x00 - Status register

dr: Reg<u32, _DR>

0x04 - Data register

brr: Reg<u32, _BRR>

0x08 - Baud rate register

cr1: Reg<u32, _CR1>

0x0c - Control register 1

cr2: Reg<u32, _CR2>

0x10 - Control register 2

cr3: Reg<u32, _CR3>

0x14 - Control register 3

Auto Trait Implementations

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.