Struct esp32_hal::peripherals::RTC_IO
source · pub struct RTC_IO { /* private fields */ }
Implementations§
source§impl RTC_IO
impl RTC_IO
sourcepub unsafe fn steal() -> RTC_IO
pub unsafe fn steal() -> RTC_IO
Unsafely create an instance of this peripheral out of thin air.
§Safety
You must ensure that you’re only using one instance of this type at a time.
Methods from Deref<Target = RegisterBlock>§
sourcepub fn out_w1ts(&self) -> &Reg<OUT_W1TS_SPEC>
pub fn out_w1ts(&self) -> &Reg<OUT_W1TS_SPEC>
0x04 -
sourcepub fn out_w1tc(&self) -> &Reg<OUT_W1TC_SPEC>
pub fn out_w1tc(&self) -> &Reg<OUT_W1TC_SPEC>
0x08 -
sourcepub fn enable(&self) -> &Reg<ENABLE_SPEC>
pub fn enable(&self) -> &Reg<ENABLE_SPEC>
0x0c -
sourcepub fn enable_w1ts(&self) -> &Reg<ENABLE_W1TS_SPEC>
pub fn enable_w1ts(&self) -> &Reg<ENABLE_W1TS_SPEC>
0x10 -
sourcepub fn enable_w1tc(&self) -> &Reg<ENABLE_W1TC_SPEC>
pub fn enable_w1tc(&self) -> &Reg<ENABLE_W1TC_SPEC>
0x14 -
sourcepub fn status(&self) -> &Reg<STATUS_SPEC>
pub fn status(&self) -> &Reg<STATUS_SPEC>
0x18 -
sourcepub fn status_w1ts(&self) -> &Reg<STATUS_W1TS_SPEC>
pub fn status_w1ts(&self) -> &Reg<STATUS_W1TS_SPEC>
0x1c -
sourcepub fn status_w1tc(&self) -> &Reg<STATUS_W1TC_SPEC>
pub fn status_w1tc(&self) -> &Reg<STATUS_W1TC_SPEC>
0x20 -
sourcepub fn pin_iter(&self) -> impl Iterator<Item = &Reg<PIN_SPEC>>
pub fn pin_iter(&self) -> impl Iterator<Item = &Reg<PIN_SPEC>>
Iterator for array of: 0x28..0x70 -
sourcepub fn rtc_debug_sel(&self) -> &Reg<RTC_DEBUG_SEL_SPEC>
pub fn rtc_debug_sel(&self) -> &Reg<RTC_DEBUG_SEL_SPEC>
0x70 -
sourcepub fn dig_pad_hold(&self) -> &Reg<DIG_PAD_HOLD_SPEC>
pub fn dig_pad_hold(&self) -> &Reg<DIG_PAD_HOLD_SPEC>
0x74 -
sourcepub fn hall_sens(&self) -> &Reg<HALL_SENS_SPEC>
pub fn hall_sens(&self) -> &Reg<HALL_SENS_SPEC>
0x78 -
sourcepub fn sensor_pads(&self) -> &Reg<SENSOR_PADS_SPEC>
pub fn sensor_pads(&self) -> &Reg<SENSOR_PADS_SPEC>
0x7c -
sourcepub fn adc_pad(&self) -> &Reg<ADC_PAD_SPEC>
pub fn adc_pad(&self) -> &Reg<ADC_PAD_SPEC>
0x80 -
sourcepub fn pad_dac1(&self) -> &Reg<PAD_DAC1_SPEC>
pub fn pad_dac1(&self) -> &Reg<PAD_DAC1_SPEC>
0x84 -
sourcepub fn pad_dac2(&self) -> &Reg<PAD_DAC2_SPEC>
pub fn pad_dac2(&self) -> &Reg<PAD_DAC2_SPEC>
0x88 -
sourcepub fn xtal_32k_pad(&self) -> &Reg<XTAL_32K_PAD_SPEC>
pub fn xtal_32k_pad(&self) -> &Reg<XTAL_32K_PAD_SPEC>
0x8c -
sourcepub fn touch_cfg(&self) -> &Reg<TOUCH_CFG_SPEC>
pub fn touch_cfg(&self) -> &Reg<TOUCH_CFG_SPEC>
0x90 -
sourcepub fn touch_pad0(&self) -> &Reg<TOUCH_PAD0_SPEC>
pub fn touch_pad0(&self) -> &Reg<TOUCH_PAD0_SPEC>
0x94 -
sourcepub fn touch_pad1(&self) -> &Reg<TOUCH_PAD1_SPEC>
pub fn touch_pad1(&self) -> &Reg<TOUCH_PAD1_SPEC>
0x98 -
sourcepub fn touch_pad2(&self) -> &Reg<TOUCH_PAD2_SPEC>
pub fn touch_pad2(&self) -> &Reg<TOUCH_PAD2_SPEC>
0x9c -
sourcepub fn touch_pad3(&self) -> &Reg<TOUCH_PAD3_SPEC>
pub fn touch_pad3(&self) -> &Reg<TOUCH_PAD3_SPEC>
0xa0 -
sourcepub fn touch_pad4(&self) -> &Reg<TOUCH_PAD4_SPEC>
pub fn touch_pad4(&self) -> &Reg<TOUCH_PAD4_SPEC>
0xa4 -
sourcepub fn touch_pad5(&self) -> &Reg<TOUCH_PAD5_SPEC>
pub fn touch_pad5(&self) -> &Reg<TOUCH_PAD5_SPEC>
0xa8 -
sourcepub fn touch_pad6(&self) -> &Reg<TOUCH_PAD6_SPEC>
pub fn touch_pad6(&self) -> &Reg<TOUCH_PAD6_SPEC>
0xac -
sourcepub fn touch_pad7(&self) -> &Reg<TOUCH_PAD7_SPEC>
pub fn touch_pad7(&self) -> &Reg<TOUCH_PAD7_SPEC>
0xb0 -
sourcepub fn touch_pad8(&self) -> &Reg<TOUCH_PAD8_SPEC>
pub fn touch_pad8(&self) -> &Reg<TOUCH_PAD8_SPEC>
0xb4 -
sourcepub fn touch_pad9(&self) -> &Reg<TOUCH_PAD9_SPEC>
pub fn touch_pad9(&self) -> &Reg<TOUCH_PAD9_SPEC>
0xb8 -
sourcepub fn ext_wakeup0(&self) -> &Reg<EXT_WAKEUP0_SPEC>
pub fn ext_wakeup0(&self) -> &Reg<EXT_WAKEUP0_SPEC>
0xbc -
sourcepub fn xtl_ext_ctr(&self) -> &Reg<XTL_EXT_CTR_SPEC>
pub fn xtl_ext_ctr(&self) -> &Reg<XTL_EXT_CTR_SPEC>
0xc0 -
sourcepub fn sar_i2c_io(&self) -> &Reg<SAR_I2C_IO_SPEC>
pub fn sar_i2c_io(&self) -> &Reg<SAR_I2C_IO_SPEC>
0xc4 -
Trait Implementations§
source§impl Peripheral for RTC_IO
impl Peripheral for RTC_IO
Auto Trait Implementations§
impl RefUnwindSafe for RTC_IO
impl Send for RTC_IO
impl Sync for RTC_IO
impl Unpin for RTC_IO
impl UnwindSafe for RTC_IO
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