[][src]Struct ADuCM302x::crc0::RegisterBlock

#[repr(C)]pub struct RegisterBlock {
    pub ctl: CTL,
    pub ipdata: IPDATA,
    pub result: RESULT,
    pub poly: POLY,
    // some fields omitted
}

Register block

Fields

ctl: CTL

0x00 - CRC Control

ipdata: IPDATA

0x04 - Input Data Word

result: RESULT

0x08 - CRC Result

poly: POLY

0x0c - Programmable CRC Polynomial

Implementations

impl RegisterBlock[src]

pub fn ipbyte(&self) -> &IPBYTE[src]

0x10 - Input Data Byte

pub fn ipbyte_mut(&self) -> &mut IPBYTE[src]

0x10 - Input Data Byte

pub fn ipbits(&self) -> &[IPBITS; 8][src]

0x10 - Input Data Bits

pub fn ipbits_mut(&self) -> &mut [IPBITS; 8][src]

0x10 - Input Data Bits

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.