Skip to main content

RegisterBlock

Struct RegisterBlock 

Source
pub struct RegisterBlock {
Show 17 fields pub con1: Reg<CON1_SPEC>, pub con1clr: Reg<CON1CLR_SPEC>, pub con1set: Reg<CON1SET_SPEC>, pub con1inv: Reg<CON1INV_SPEC>, pub stat: Reg<STAT_SPEC>, pub statclr: Reg<STATCLR_SPEC>, pub statset: Reg<STATSET_SPEC>, pub statinv: Reg<STATINV_SPEC>, pub buf: Reg<BUF_SPEC>, pub brg: Reg<BRG_SPEC>, pub brgclr: Reg<BRGCLR_SPEC>, pub brgset: Reg<BRGSET_SPEC>, pub brginv: Reg<BRGINV_SPEC>, pub con2: Reg<CON2_SPEC>, pub con2clr: Reg<CON2CLR_SPEC>, pub con2set: Reg<CON2SET_SPEC>, pub con2inv: Reg<CON2INV_SPEC>, /* private fields */
}
Expand description

Register block

Fields§

§con1: Reg<CON1_SPEC>

0x00 - SPI1CON register

§con1clr: Reg<CON1CLR_SPEC>

0x04 - SPI1CONCLR register

§con1set: Reg<CON1SET_SPEC>

0x08 - SPI1CONSET register

§con1inv: Reg<CON1INV_SPEC>

0x0c - SPI1CONINV register

§stat: Reg<STAT_SPEC>

0x10 - SPI1STAT register

§statclr: Reg<STATCLR_SPEC>

0x14 - SPI1STATCLR register

§statset: Reg<STATSET_SPEC>

0x18 - SPI1STATSET register

§statinv: Reg<STATINV_SPEC>

0x1c - SPI1STATINV register

§buf: Reg<BUF_SPEC>

0x20 - SPI1BUF register

§brg: Reg<BRG_SPEC>

0x30 - SPI1BRG register

§brgclr: Reg<BRGCLR_SPEC>

0x34 - SPI1BRGCLR register

§brgset: Reg<BRGSET_SPEC>

0x38 - SPI1BRGSET register

§brginv: Reg<BRGINV_SPEC>

0x3c - SPI1BRGINV register

§con2: Reg<CON2_SPEC>

0x40 - SPI1CON2 register

§con2clr: Reg<CON2CLR_SPEC>

0x44 - SPI1CON2CLR register

§con2set: Reg<CON2SET_SPEC>

0x48 - SPI1CON2SET register

§con2inv: Reg<CON2INV_SPEC>

0x4c - SPI1CON2INV 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.