Struct stm32h7xx_hal::stm32::crc::RegisterBlock[][src]

#[repr(C)]pub struct RegisterBlock {
    pub idr: Reg<u32, _IDR>,
    pub cr: Reg<u32, _CR>,
    pub init: Reg<u32, _INIT>,
    pub pol: Reg<u32, _POL>,
    // some fields omitted
}

Register block

Fields

idr: Reg<u32, _IDR>

0x04 - Independent Data register

cr: Reg<u32, _CR>

0x08 - Control register

init: Reg<u32, _INIT>

0x10 - Initial CRC value

pol: Reg<u32, _POL>

0x14 - CRC polynomial

Implementations

impl RegisterBlock[src]

pub fn dr16(&self) -> &Reg<u16, _DR16>[src]

0x00 - Data register - half-word sized

pub fn dr16_mut(&self) -> &mut Reg<u16, _DR16>[src]

0x00 - Data register - half-word sized

pub fn dr8(&self) -> &Reg<u8, _DR8>[src]

0x00 - Data register - byte sized

pub fn dr8_mut(&self) -> &mut Reg<u8, _DR8>[src]

0x00 - Data register - byte sized

pub fn dr(&self) -> &Reg<u32, _DR>[src]

0x00 - Data register

pub fn dr_mut(&self) -> &mut Reg<u32, _DR>[src]

0x00 - Data register

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.