Struct esp_idf_sys::sens_dev_s

source ·
#[repr(C)]
pub struct sens_dev_s {
Show 56 fields pub sar_read_ctrl: sens_dev_s__bindgen_ty_1, pub sar_read_status1: u32, pub sar_meas_wait1: sens_dev_s__bindgen_ty_2, pub sar_meas_wait2: sens_dev_s__bindgen_ty_3, pub sar_meas_ctrl: sens_dev_s__bindgen_ty_4, pub sar_read_status2: u32, pub ulp_cp_sleep_cyc0: u32, pub ulp_cp_sleep_cyc1: u32, pub ulp_cp_sleep_cyc2: u32, pub ulp_cp_sleep_cyc3: u32, pub ulp_cp_sleep_cyc4: u32, pub sar_start_force: sens_dev_s__bindgen_ty_5, pub sar_mem_wr_ctrl: sens_dev_s__bindgen_ty_6, pub sar_atten1: u32, pub sar_atten2: u32, pub sar_slave_addr1: sens_dev_s__bindgen_ty_7, pub sar_slave_addr2: sens_dev_s__bindgen_ty_8, pub sar_slave_addr3: sens_dev_s__bindgen_ty_9, pub sar_slave_addr4: sens_dev_s__bindgen_ty_10, pub sar_tctrl: sens_dev_s__bindgen_ty_11, pub sar_i2c_ctrl: sens_dev_s__bindgen_ty_12, pub sar_meas_start1: sens_dev_s__bindgen_ty_13, pub sar_touch_ctrl1: sens_dev_s__bindgen_ty_14, pub touch_thresh: [sens_dev_s__bindgen_ty_15; 5], pub touch_meas: [sens_dev_s__bindgen_ty_16; 5], pub sar_touch_ctrl2: sens_dev_s__bindgen_ty_17, pub reserved_88: u32, pub sar_touch_enable: sens_dev_s__bindgen_ty_18, pub sar_read_ctrl2: sens_dev_s__bindgen_ty_19, pub sar_meas_start2: sens_dev_s__bindgen_ty_20, pub sar_dac_ctrl1: sens_dev_s__bindgen_ty_21, pub sar_dac_ctrl2: sens_dev_s__bindgen_ty_22, pub sar_meas_ctrl2: sens_dev_s__bindgen_ty_23, pub reserved_a4: u32, pub reserved_a8: u32, pub reserved_ac: u32, pub reserved_b0: u32, pub reserved_b4: u32, pub reserved_b8: u32, pub reserved_bc: u32, pub reserved_c0: u32, pub reserved_c4: u32, pub reserved_c8: u32, pub reserved_cc: u32, pub reserved_d0: u32, pub reserved_d4: u32, pub reserved_d8: u32, pub reserved_dc: u32, pub reserved_e0: u32, pub reserved_e4: u32, pub reserved_e8: u32, pub reserved_ec: u32, pub reserved_f0: u32, pub reserved_f4: u32, pub sar_nouse: u32, pub sardate: sens_dev_s__bindgen_ty_24,
}

Fields§

§sar_read_ctrl: sens_dev_s__bindgen_ty_1§sar_read_status1: u32§sar_meas_wait1: sens_dev_s__bindgen_ty_2§sar_meas_wait2: sens_dev_s__bindgen_ty_3§sar_meas_ctrl: sens_dev_s__bindgen_ty_4§sar_read_status2: u32§ulp_cp_sleep_cyc0: u32§ulp_cp_sleep_cyc1: u32§ulp_cp_sleep_cyc2: u32§ulp_cp_sleep_cyc3: u32§ulp_cp_sleep_cyc4: u32§sar_start_force: sens_dev_s__bindgen_ty_5§sar_mem_wr_ctrl: sens_dev_s__bindgen_ty_6§sar_atten1: u32§sar_atten2: u32§sar_slave_addr1: sens_dev_s__bindgen_ty_7§sar_slave_addr2: sens_dev_s__bindgen_ty_8§sar_slave_addr3: sens_dev_s__bindgen_ty_9§sar_slave_addr4: sens_dev_s__bindgen_ty_10§sar_tctrl: sens_dev_s__bindgen_ty_11§sar_i2c_ctrl: sens_dev_s__bindgen_ty_12§sar_meas_start1: sens_dev_s__bindgen_ty_13§sar_touch_ctrl1: sens_dev_s__bindgen_ty_14§touch_thresh: [sens_dev_s__bindgen_ty_15; 5]§touch_meas: [sens_dev_s__bindgen_ty_16; 5]§sar_touch_ctrl2: sens_dev_s__bindgen_ty_17§reserved_88: u32§sar_touch_enable: sens_dev_s__bindgen_ty_18§sar_read_ctrl2: sens_dev_s__bindgen_ty_19§sar_meas_start2: sens_dev_s__bindgen_ty_20§sar_dac_ctrl1: sens_dev_s__bindgen_ty_21§sar_dac_ctrl2: sens_dev_s__bindgen_ty_22§sar_meas_ctrl2: sens_dev_s__bindgen_ty_23§reserved_a4: u32§reserved_a8: u32§reserved_ac: u32§reserved_b0: u32§reserved_b4: u32§reserved_b8: u32§reserved_bc: u32§reserved_c0: u32§reserved_c4: u32§reserved_c8: u32§reserved_cc: u32§reserved_d0: u32§reserved_d4: u32§reserved_d8: u32§reserved_dc: u32§reserved_e0: u32§reserved_e4: u32§reserved_e8: u32§reserved_ec: u32§reserved_f0: u32§reserved_f4: u32§sar_nouse: u32§sardate: sens_dev_s__bindgen_ty_24

Trait Implementations§

source§

impl Clone for sens_dev_s

source§

fn clone(&self) -> sens_dev_s

Returns a copy of the value. Read more
1.0.0§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Default for sens_dev_s

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl Copy for sens_dev_s

Auto Trait Implementations§

§

impl Freeze for sens_dev_s

§

impl RefUnwindSafe for sens_dev_s

§

impl Send for sens_dev_s

§

impl Sync for sens_dev_s

§

impl Unpin for sens_dev_s

§

impl UnwindSafe for sens_dev_s

Blanket Implementations§

§

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

§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

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

§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
§

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

§

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

Mutably borrows from an owned value. Read more
§

impl<T> CloneToUninit for T
where T: Copy,

§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<T> CloneToUninit for T
where T: Clone,

§

default unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<T> From<T> for T

§

fn from(t: T) -> T

Returns the argument unchanged.

§

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

§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
§

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

Performs the conversion.
§

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.
§

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

Performs the conversion.