Struct esp32::sens::RegisterBlock

source ·
#[repr(C)]
pub struct RegisterBlock { /* private fields */ }
Expand description

Register block

Implementations§

source§

impl RegisterBlock

source

pub const fn sar_read_ctrl(&self) -> &SAR_READ_CTRL

0x00 -

source

pub const fn sar_read_status1(&self) -> &SAR_READ_STATUS1

0x04 -

source

pub const fn sar_meas_wait1(&self) -> &SAR_MEAS_WAIT1

0x08 -

source

pub const fn sar_meas_wait2(&self) -> &SAR_MEAS_WAIT2

0x0c -

source

pub const fn sar_meas_ctrl(&self) -> &SAR_MEAS_CTRL

0x10 -

source

pub const fn sar_read_status2(&self) -> &SAR_READ_STATUS2

0x14 -

source

pub const fn ulp_cp_sleep_cyc0(&self) -> &ULP_CP_SLEEP_CYC0

0x18 -

source

pub const fn ulp_cp_sleep_cyc1(&self) -> &ULP_CP_SLEEP_CYC1

0x1c -

source

pub const fn ulp_cp_sleep_cyc2(&self) -> &ULP_CP_SLEEP_CYC2

0x20 -

source

pub const fn ulp_cp_sleep_cyc3(&self) -> &ULP_CP_SLEEP_CYC3

0x24 -

source

pub const fn ulp_cp_sleep_cyc4(&self) -> &ULP_CP_SLEEP_CYC4

0x28 -

source

pub const fn sar_start_force(&self) -> &SAR_START_FORCE

0x2c -

source

pub const fn sar_mem_wr_ctrl(&self) -> &SAR_MEM_WR_CTRL

0x30 -

source

pub const fn sar_atten1(&self) -> &SAR_ATTEN1

0x34 -

source

pub const fn sar_atten2(&self) -> &SAR_ATTEN2

0x38 -

source

pub const fn sar_slave_addr1(&self) -> &SAR_SLAVE_ADDR1

0x3c -

source

pub const fn sar_slave_addr2(&self) -> &SAR_SLAVE_ADDR2

0x40 -

source

pub const fn sar_slave_addr3(&self) -> &SAR_SLAVE_ADDR3

0x44 -

source

pub const fn sar_slave_addr4(&self) -> &SAR_SLAVE_ADDR4

0x48 -

source

pub const fn sar_tsens_ctrl(&self) -> &SAR_TSENS_CTRL

0x4c -

source

pub const fn sar_i2c_ctrl(&self) -> &SAR_I2C_CTRL

0x50 -

source

pub const fn sar_meas_start1(&self) -> &SAR_MEAS_START1

0x54 -

source

pub const fn sar_touch_ctrl1(&self) -> &SAR_TOUCH_CTRL1

0x58 -

source

pub const fn sar_touch_thres1(&self) -> &SAR_TOUCH_THRES1

0x5c -

source

pub const fn sar_touch_thres2(&self) -> &SAR_TOUCH_THRES2

0x60 -

source

pub const fn sar_touch_thres3(&self) -> &SAR_TOUCH_THRES3

0x64 -

source

pub const fn sar_touch_thres4(&self) -> &SAR_TOUCH_THRES4

0x68 -

source

pub const fn sar_touch_thres5(&self) -> &SAR_TOUCH_THRES5

0x6c -

source

pub const fn sar_touch_out1(&self) -> &SAR_TOUCH_OUT1

0x70 -

source

pub const fn sar_touch_out2(&self) -> &SAR_TOUCH_OUT2

0x74 -

source

pub const fn sar_touch_out3(&self) -> &SAR_TOUCH_OUT3

0x78 -

source

pub const fn sar_touch_out4(&self) -> &SAR_TOUCH_OUT4

0x7c -

source

pub const fn sar_touch_out5(&self) -> &SAR_TOUCH_OUT5

0x80 -

source

pub const fn sar_touch_ctrl2(&self) -> &SAR_TOUCH_CTRL2

0x84 -

source

pub const fn sar_touch_enable(&self) -> &SAR_TOUCH_ENABLE

0x8c -

source

pub const fn sar_read_ctrl2(&self) -> &SAR_READ_CTRL2

0x90 -

source

pub const fn sar_meas_start2(&self) -> &SAR_MEAS_START2

0x94 -

source

pub const fn sar_dac_ctrl1(&self) -> &SAR_DAC_CTRL1

0x98 -

source

pub const fn sar_dac_ctrl2(&self) -> &SAR_DAC_CTRL2

0x9c -

source

pub const fn sar_meas_ctrl2(&self) -> &SAR_MEAS_CTRL2

0xa0 -

source

pub const fn sar_nouse(&self) -> &SAR_NOUSE

0xf8 -

source

pub const fn sardate(&self) -> &SARDATE

0xfc -

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.