Struct mk20d7::adc0::RegisterBlock

source ·
#[repr(C)]
pub struct RegisterBlock {
Show 28 fields pub sc1a: SC1, pub sc1b: SC1, pub cfg1: CFG1, pub cfg2: CFG2, pub ra: R, pub rb: R, pub cv1: CV, pub cv2: CV, pub sc2: SC2, pub sc3: SC3, pub ofs: OFS, pub pg: PG, pub mg: MG, pub clpd: CLPD, pub clps: CLPS, pub clp4: CLP4, pub clp3: CLP3, pub clp2: CLP2, pub clp1: CLP1, pub clp0: CLP0, pub pga: PGA, pub clmd: CLMD, pub clms: CLMS, pub clm4: CLM4, pub clm3: CLM3, pub clm2: CLM2, pub clm1: CLM1, pub clm0: CLM0,
}
Expand description

Register block

Fields§

§sc1a: SC1

0x00 - ADC status and control registers 1

§sc1b: SC1

0x04 - ADC status and control registers 1

§cfg1: CFG1

0x08 - ADC configuration register 1

§cfg2: CFG2

0x0c - Configuration register 2

§ra: R

0x10 - ADC data result register

§rb: R

0x14 - ADC data result register

§cv1: CV

0x18 - Compare value registers

§cv2: CV

0x1c - Compare value registers

§sc2: SC2

0x20 - Status and control register 2

§sc3: SC3

0x24 - Status and control register 3

§ofs: OFS

0x28 - ADC offset correction register

§pg: PG

0x2c - ADC plus-side gain register

§mg: MG

0x30 - ADC minus-side gain register

§clpd: CLPD

0x34 - ADC plus-side general calibration value register

§clps: CLPS

0x38 - ADC plus-side general calibration value register

§clp4: CLP4

0x3c - ADC plus-side general calibration value register

§clp3: CLP3

0x40 - ADC plus-side general calibration value register

§clp2: CLP2

0x44 - ADC plus-side general calibration value register

§clp1: CLP1

0x48 - ADC plus-side general calibration value register

§clp0: CLP0

0x4c - ADC plus-side general calibration value register

§pga: PGA

0x50 - ADC PGA register

§clmd: CLMD

0x54 - ADC minus-side general calibration value register

§clms: CLMS

0x58 - ADC minus-side general calibration value register

§clm4: CLM4

0x5c - ADC minus-side general calibration value register

§clm3: CLM3

0x60 - ADC minus-side general calibration value register

§clm2: CLM2

0x64 - ADC minus-side general calibration value register

§clm1: CLM1

0x68 - ADC minus-side general calibration value register

§clm0: CLM0

0x6c - ADC minus-side general calibration value register

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

const: unstable · source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

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

const: unstable · 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 Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
const: unstable · source§

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

Performs the conversion.
source§

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

§

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

The type returned in the event of a conversion error.
const: unstable · source§

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

Performs the conversion.