Struct esp32::sens::RegisterBlock
source · #[repr(C)]pub struct RegisterBlock { /* private fields */ }
Expand description
Register block
Implementations§
source§impl RegisterBlock
impl RegisterBlock
sourcepub const fn sar_read_ctrl(&self) -> &SAR_READ_CTRL
pub const fn sar_read_ctrl(&self) -> &SAR_READ_CTRL
0x00 -
sourcepub const fn sar_read_status1(&self) -> &SAR_READ_STATUS1
pub const fn sar_read_status1(&self) -> &SAR_READ_STATUS1
0x04 -
sourcepub const fn sar_meas_wait1(&self) -> &SAR_MEAS_WAIT1
pub const fn sar_meas_wait1(&self) -> &SAR_MEAS_WAIT1
0x08 -
sourcepub const fn sar_meas_wait2(&self) -> &SAR_MEAS_WAIT2
pub const fn sar_meas_wait2(&self) -> &SAR_MEAS_WAIT2
0x0c -
sourcepub const fn sar_meas_ctrl(&self) -> &SAR_MEAS_CTRL
pub const fn sar_meas_ctrl(&self) -> &SAR_MEAS_CTRL
0x10 -
sourcepub const fn sar_read_status2(&self) -> &SAR_READ_STATUS2
pub const fn sar_read_status2(&self) -> &SAR_READ_STATUS2
0x14 -
sourcepub const fn ulp_cp_sleep_cyc0(&self) -> &ULP_CP_SLEEP_CYC0
pub const fn ulp_cp_sleep_cyc0(&self) -> &ULP_CP_SLEEP_CYC0
0x18 -
sourcepub const fn ulp_cp_sleep_cyc1(&self) -> &ULP_CP_SLEEP_CYC1
pub const fn ulp_cp_sleep_cyc1(&self) -> &ULP_CP_SLEEP_CYC1
0x1c -
sourcepub const fn ulp_cp_sleep_cyc2(&self) -> &ULP_CP_SLEEP_CYC2
pub const fn ulp_cp_sleep_cyc2(&self) -> &ULP_CP_SLEEP_CYC2
0x20 -
sourcepub const fn ulp_cp_sleep_cyc3(&self) -> &ULP_CP_SLEEP_CYC3
pub const fn ulp_cp_sleep_cyc3(&self) -> &ULP_CP_SLEEP_CYC3
0x24 -
sourcepub const fn ulp_cp_sleep_cyc4(&self) -> &ULP_CP_SLEEP_CYC4
pub const fn ulp_cp_sleep_cyc4(&self) -> &ULP_CP_SLEEP_CYC4
0x28 -
sourcepub const fn sar_start_force(&self) -> &SAR_START_FORCE
pub const fn sar_start_force(&self) -> &SAR_START_FORCE
0x2c -
sourcepub const fn sar_mem_wr_ctrl(&self) -> &SAR_MEM_WR_CTRL
pub const fn sar_mem_wr_ctrl(&self) -> &SAR_MEM_WR_CTRL
0x30 -
sourcepub const fn sar_atten1(&self) -> &SAR_ATTEN1
pub const fn sar_atten1(&self) -> &SAR_ATTEN1
0x34 -
sourcepub const fn sar_atten2(&self) -> &SAR_ATTEN2
pub const fn sar_atten2(&self) -> &SAR_ATTEN2
0x38 -
sourcepub const fn sar_slave_addr1(&self) -> &SAR_SLAVE_ADDR1
pub const fn sar_slave_addr1(&self) -> &SAR_SLAVE_ADDR1
0x3c -
sourcepub const fn sar_slave_addr2(&self) -> &SAR_SLAVE_ADDR2
pub const fn sar_slave_addr2(&self) -> &SAR_SLAVE_ADDR2
0x40 -
sourcepub const fn sar_slave_addr3(&self) -> &SAR_SLAVE_ADDR3
pub const fn sar_slave_addr3(&self) -> &SAR_SLAVE_ADDR3
0x44 -
sourcepub const fn sar_slave_addr4(&self) -> &SAR_SLAVE_ADDR4
pub const fn sar_slave_addr4(&self) -> &SAR_SLAVE_ADDR4
0x48 -
sourcepub const fn sar_tsens_ctrl(&self) -> &SAR_TSENS_CTRL
pub const fn sar_tsens_ctrl(&self) -> &SAR_TSENS_CTRL
0x4c -
sourcepub const fn sar_i2c_ctrl(&self) -> &SAR_I2C_CTRL
pub const fn sar_i2c_ctrl(&self) -> &SAR_I2C_CTRL
0x50 -
sourcepub const fn sar_meas_start1(&self) -> &SAR_MEAS_START1
pub const fn sar_meas_start1(&self) -> &SAR_MEAS_START1
0x54 -
sourcepub const fn sar_touch_ctrl1(&self) -> &SAR_TOUCH_CTRL1
pub const fn sar_touch_ctrl1(&self) -> &SAR_TOUCH_CTRL1
0x58 -
sourcepub const fn sar_touch_thres1(&self) -> &SAR_TOUCH_THRES1
pub const fn sar_touch_thres1(&self) -> &SAR_TOUCH_THRES1
0x5c -
sourcepub const fn sar_touch_thres2(&self) -> &SAR_TOUCH_THRES2
pub const fn sar_touch_thres2(&self) -> &SAR_TOUCH_THRES2
0x60 -
sourcepub const fn sar_touch_thres3(&self) -> &SAR_TOUCH_THRES3
pub const fn sar_touch_thres3(&self) -> &SAR_TOUCH_THRES3
0x64 -
sourcepub const fn sar_touch_thres4(&self) -> &SAR_TOUCH_THRES4
pub const fn sar_touch_thres4(&self) -> &SAR_TOUCH_THRES4
0x68 -
sourcepub const fn sar_touch_thres5(&self) -> &SAR_TOUCH_THRES5
pub const fn sar_touch_thres5(&self) -> &SAR_TOUCH_THRES5
0x6c -
sourcepub const fn sar_touch_out1(&self) -> &SAR_TOUCH_OUT1
pub const fn sar_touch_out1(&self) -> &SAR_TOUCH_OUT1
0x70 -
sourcepub const fn sar_touch_out2(&self) -> &SAR_TOUCH_OUT2
pub const fn sar_touch_out2(&self) -> &SAR_TOUCH_OUT2
0x74 -
sourcepub const fn sar_touch_out3(&self) -> &SAR_TOUCH_OUT3
pub const fn sar_touch_out3(&self) -> &SAR_TOUCH_OUT3
0x78 -
sourcepub const fn sar_touch_out4(&self) -> &SAR_TOUCH_OUT4
pub const fn sar_touch_out4(&self) -> &SAR_TOUCH_OUT4
0x7c -
sourcepub const fn sar_touch_out5(&self) -> &SAR_TOUCH_OUT5
pub const fn sar_touch_out5(&self) -> &SAR_TOUCH_OUT5
0x80 -
sourcepub const fn sar_touch_ctrl2(&self) -> &SAR_TOUCH_CTRL2
pub const fn sar_touch_ctrl2(&self) -> &SAR_TOUCH_CTRL2
0x84 -
sourcepub const fn sar_touch_enable(&self) -> &SAR_TOUCH_ENABLE
pub const fn sar_touch_enable(&self) -> &SAR_TOUCH_ENABLE
0x8c -
sourcepub const fn sar_read_ctrl2(&self) -> &SAR_READ_CTRL2
pub const fn sar_read_ctrl2(&self) -> &SAR_READ_CTRL2
0x90 -
sourcepub const fn sar_meas_start2(&self) -> &SAR_MEAS_START2
pub const fn sar_meas_start2(&self) -> &SAR_MEAS_START2
0x94 -
sourcepub const fn sar_dac_ctrl1(&self) -> &SAR_DAC_CTRL1
pub const fn sar_dac_ctrl1(&self) -> &SAR_DAC_CTRL1
0x98 -
sourcepub const fn sar_dac_ctrl2(&self) -> &SAR_DAC_CTRL2
pub const fn sar_dac_ctrl2(&self) -> &SAR_DAC_CTRL2
0x9c -
sourcepub const fn sar_meas_ctrl2(&self) -> &SAR_MEAS_CTRL2
pub const fn sar_meas_ctrl2(&self) -> &SAR_MEAS_CTRL2
0xa0 -
Auto Trait Implementations§
impl !RefUnwindSafe for RegisterBlock
impl Send for RegisterBlock
impl !Sync for RegisterBlock
impl Unpin for RegisterBlock
impl UnwindSafe for RegisterBlock
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more