Skip to main content

RegisterBlock

Struct RegisterBlock 

Source
#[repr(C)]
pub struct RegisterBlock {
Show 25 fields pub cont: Reg<CONT_SPEC>, pub contclr: Reg<CONTCLR_SPEC>, pub contset: Reg<CONTSET_SPEC>, pub continv: Reg<CONTINV_SPEC>, pub stat: Reg<STAT_SPEC>, pub statclr: Reg<STATCLR_SPEC>, pub statset: Reg<STATSET_SPEC>, pub statinv: Reg<STATINV_SPEC>, pub add: Reg<ADD_SPEC>, pub addclr: Reg<ADDCLR_SPEC>, pub addset: Reg<ADDSET_SPEC>, pub addinv: Reg<ADDINV_SPEC>, pub msk: Reg<MSK_SPEC>, pub mskclr: Reg<MSKCLR_SPEC>, pub mskset: Reg<MSKSET_SPEC>, pub mskinv: Reg<MSKINV_SPEC>, pub brg: Reg<BRG_SPEC>, pub brgclr: Reg<BRGCLR_SPEC>, pub brgset: Reg<BRGSET_SPEC>, pub brginv: Reg<BRGINV_SPEC>, pub trn: Reg<TRN_SPEC>, pub trnclr: Reg<TRNCLR_SPEC>, pub trnset: Reg<TRNSET_SPEC>, pub trninv: Reg<TRNINV_SPEC>, pub rcv: Reg<RCV_SPEC>,
}
Expand description

Register block

Fields§

§cont: Reg<CONT_SPEC>

0x00 - I2C1CON register

§contclr: Reg<CONTCLR_SPEC>

0x04 - I2C1CONCLR register

§contset: Reg<CONTSET_SPEC>

0x08 - I2C1CONSET register

§continv: Reg<CONTINV_SPEC>

0x0c - I2C1CONINV register

§stat: Reg<STAT_SPEC>

0x10 - I2C1STAT register

§statclr: Reg<STATCLR_SPEC>

0x14 - I2C1STATCLR register

§statset: Reg<STATSET_SPEC>

0x18 - I2C1STATSET register

§statinv: Reg<STATINV_SPEC>

0x1c - I2C1STATINV register

§add: Reg<ADD_SPEC>

0x20 - I2C1ADD register

§addclr: Reg<ADDCLR_SPEC>

0x24 - I2C1ADDCLR register

§addset: Reg<ADDSET_SPEC>

0x28 - I2C1ADDSET register

§addinv: Reg<ADDINV_SPEC>

0x2c - I2C1ADDINV register

§msk: Reg<MSK_SPEC>

0x30 - I2C1MSK register

§mskclr: Reg<MSKCLR_SPEC>

0x34 - I2C1MSKCLR register

§mskset: Reg<MSKSET_SPEC>

0x38 - I2C1MSKSET register

§mskinv: Reg<MSKINV_SPEC>

0x3c - I2C1MSKINV register

§brg: Reg<BRG_SPEC>

0x40 - I2C1BRG register

§brgclr: Reg<BRGCLR_SPEC>

0x44 - I2C1BRGCLR register

§brgset: Reg<BRGSET_SPEC>

0x48 - I2C1BRGSET register

§brginv: Reg<BRGINV_SPEC>

0x4c - I2C1BRGINV register

§trn: Reg<TRN_SPEC>

0x50 - I2C1TRN register

§trnclr: Reg<TRNCLR_SPEC>

0x54 - I2C1TRNCLR register

§trnset: Reg<TRNSET_SPEC>

0x58 - I2C1TRNSET register

§trninv: Reg<TRNINV_SPEC>

0x5c - I2C1TRNINV register

§rcv: Reg<RCV_SPEC>

0x60 - I2C1RCV register

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.