Struct atsame70n20b_pac::afec0::RegisterBlock[][src]

#[repr(C)]pub struct RegisterBlock {
    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,
    // some fields omitted
}

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

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.