#[repr(C)]
pub struct RegisterBlock {
Show 26 fields pub ctrl: CTRL, pub ctrl2: CTRL2, pub filter_ctrl1: FILTER_CTRL1, pub fsm_wait: FSM_WAIT, pub sar1_status: SAR1_STATUS, pub sar2_status: SAR2_STATUS, pub sar_patt_tab1: SAR_PATT_TAB1, pub sar_patt_tab2: SAR_PATT_TAB2, pub onetime_sample: ONETIME_SAMPLE, pub apb_adc_arb_ctrl: APB_ADC_ARB_CTRL, pub filter_ctrl0: FILTER_CTRL0, pub sar1data_status: SAR1DATA_STATUS, pub sar2data_status: SAR2DATA_STATUS, pub thres0_ctrl: THRES0_CTRL, pub thres1_ctrl: THRES1_CTRL, pub thres_ctrl: THRES_CTRL, pub int_ena: INT_ENA, pub int_raw: INT_RAW, pub int_st: INT_ST, pub int_clr: INT_CLR, pub dma_conf: DMA_CONF, pub apb_adc_clkm_conf: APB_ADC_CLKM_CONF, pub apb_tsens_ctrl: APB_TSENS_CTRL, pub apb_tsens_ctrl2: APB_TSENS_CTRL2, pub cali: CALI, pub apb_ctrl_date: APB_CTRL_DATE, /* private fields */
}
Expand description

Register block

Fields§

§ctrl: CTRL

0x00 - register description

§ctrl2: CTRL2

0x04 - register description

§filter_ctrl1: FILTER_CTRL1

0x08 - register description

§fsm_wait: FSM_WAIT

0x0c - register description

§sar1_status: SAR1_STATUS

0x10 - register description

§sar2_status: SAR2_STATUS

0x14 - register description

§sar_patt_tab1: SAR_PATT_TAB1

0x18 - register description

§sar_patt_tab2: SAR_PATT_TAB2

0x1c - register description

§onetime_sample: ONETIME_SAMPLE

0x20 - register description

§apb_adc_arb_ctrl: APB_ADC_ARB_CTRL

0x24 - register description

§filter_ctrl0: FILTER_CTRL0

0x28 - register description

§sar1data_status: SAR1DATA_STATUS

0x2c - register description

§sar2data_status: SAR2DATA_STATUS

0x30 - register description

§thres0_ctrl: THRES0_CTRL

0x34 - register description

§thres1_ctrl: THRES1_CTRL

0x38 - register description

§thres_ctrl: THRES_CTRL

0x3c - register description

§int_ena: INT_ENA

0x40 - register description

§int_raw: INT_RAW

0x44 - register description

§int_st: INT_ST

0x48 - register description

§int_clr: INT_CLR

0x4c - register description

§dma_conf: DMA_CONF

0x50 - register description

§apb_adc_clkm_conf: APB_ADC_CLKM_CONF

0x54 - register description

§apb_tsens_ctrl: APB_TSENS_CTRL

0x58 - register description

§apb_tsens_ctrl2: APB_TSENS_CTRL2

0x5c - register description

§cali: CALI

0x60 - register description

§apb_ctrl_date: APB_CTRL_DATE

0x3fc - register description

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.