#[repr(C)]
pub struct RegisterBlock {
Show 29 fields pub cr: CR, pub mr: MR, pub emr: EMR, pub seq1r: SEQ1R, pub seq2r: SEQ2R, pub cher: CHER, pub chdr: CHDR, pub chsr: CHSR, pub lcdr: LCDR, pub ier: IER, pub idr: IDR, pub imr: IMR, pub isr: ISR, pub over: OVER, pub cwr: CWR, pub cgr: CGR, pub diffr: DIFFR, pub cselr: CSELR, pub cdr: CDR, pub cocr: COCR, pub tempmr: TEMPMR, pub tempcwr: TEMPCWR, pub acr: ACR, pub shmr: SHMR, pub cosr: COSR, pub cvr: CVR, pub cecr: CECR, pub wpmr: WPMR, pub wpsr: WPSR, /* private fields */
}
Expand description

Register block

Fields§

§cr: CR

0x00 - AFEC Control Register

§mr: MR

0x04 - AFEC Mode Register

§emr: EMR

0x08 - AFEC Extended Mode Register

§seq1r: SEQ1R

0x0c - AFEC Channel Sequence 1 Register

§seq2r: SEQ2R

0x10 - AFEC Channel Sequence 2 Register

§cher: CHER

0x14 - AFEC Channel Enable Register

§chdr: CHDR

0x18 - AFEC Channel Disable Register

§chsr: CHSR

0x1c - AFEC Channel Status Register

§lcdr: LCDR

0x20 - AFEC Last Converted Data Register

§ier: IER

0x24 - AFEC Interrupt Enable Register

§idr: IDR

0x28 - AFEC Interrupt Disable Register

§imr: IMR

0x2c - AFEC Interrupt Mask Register

§isr: ISR

0x30 - AFEC Interrupt Status Register

§over: OVER

0x4c - AFEC Overrun Status Register

§cwr: CWR

0x50 - AFEC Compare Window Register

§cgr: CGR

0x54 - AFEC Channel Gain Register

§diffr: DIFFR

0x60 - AFEC Channel Differential Register

§cselr: CSELR

0x64 - AFEC Channel Selection Register

§cdr: CDR

0x68 - AFEC Channel Data Register

§cocr: COCR

0x6c - AFEC Channel Offset Compensation Register

§tempmr: TEMPMR

0x70 - AFEC Temperature Sensor Mode Register

§tempcwr: TEMPCWR

0x74 - AFEC Temperature Compare Window Register

§acr: ACR

0x94 - AFEC Analog Control Register

§shmr: SHMR

0xa0 - AFEC Sample & Hold Mode Register

§cosr: COSR

0xd0 - AFEC Correction Select Register

§cvr: CVR

0xd4 - AFEC Correction Values Register

§cecr: CECR

0xd8 - AFEC Channel Error Correction Register

§wpmr: WPMR

0xe4 - AFEC Write Protection Mode Register

§wpsr: WPSR

0xe8 - AFEC Write Protection Status 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>,

§

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>,

§

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.