pub struct RegisterBlock { /* private fields */ }Expand description
Register block
Implementations§
Source§impl RegisterBlock
impl RegisterBlock
Sourcepub const fn enable_w1ts(&self) -> &ENABLE_W1TS
pub const fn enable_w1ts(&self) -> &ENABLE_W1TS
0x10 - RTC GPIO output enable bit set register
Sourcepub const fn enable_w1tc(&self) -> &ENABLE_W1TC
pub const fn enable_w1tc(&self) -> &ENABLE_W1TC
0x14 - RTC GPIO output enable bit clear register
Sourcepub const fn status_w1ts(&self) -> &STATUS_W1TS
pub const fn status_w1ts(&self) -> &STATUS_W1TS
0x1c - RTC GPIO interrupt status bit set register
Sourcepub const fn status_w1tc(&self) -> &STATUS_W1TC
pub const fn status_w1tc(&self) -> &STATUS_W1TC
0x20 - RTC GPIO interrupt status bit clear register
Sourcepub fn pin_iter(&self) -> impl Iterator<Item = &PIN>
pub fn pin_iter(&self) -> impl Iterator<Item = &PIN>
Iterator for array of: 0x28..0x80 - RTC configuration for pin %s
Sourcepub const fn rtc_debug_sel(&self) -> &RTC_DEBUG_SEL
pub const fn rtc_debug_sel(&self) -> &RTC_DEBUG_SEL
0x80 - RTC debug select register
Sourcepub const fn touch_pad(&self, n: usize) -> &TOUCH_PAD
pub const fn touch_pad(&self, n: usize) -> &TOUCH_PAD
0x84..0xc0 - Touch pad %s configuration register
Sourcepub fn touch_pad_iter(&self) -> impl Iterator<Item = &TOUCH_PAD>
pub fn touch_pad_iter(&self) -> impl Iterator<Item = &TOUCH_PAD>
Iterator for array of: 0x84..0xc0 - Touch pad %s configuration register
Sourcepub const fn xtal_32p_pad(&self) -> &XTAL_32P_PAD
pub const fn xtal_32p_pad(&self) -> &XTAL_32P_PAD
0xc0 - 32KHz crystal P-pad configuration register
Sourcepub const fn xtal_32n_pad(&self) -> &XTAL_32N_PAD
pub const fn xtal_32n_pad(&self) -> &XTAL_32N_PAD
0xc4 - 32KHz crystal N-pad configuration register
Sourcepub const fn ext_wakeup0(&self) -> &EXT_WAKEUP0
pub const fn ext_wakeup0(&self) -> &EXT_WAKEUP0
0xdc - External wake up configuration register
Sourcepub const fn xtl_ext_ctr(&self) -> &XTL_EXT_CTR
pub const fn xtl_ext_ctr(&self) -> &XTL_EXT_CTR
0xe0 - Crystal power down enable GPIO source
Sourcepub const fn sar_i2c_io(&self) -> &SAR_I2C_IO
pub const fn sar_i2c_io(&self) -> &SAR_I2C_IO
0xe4 - RTC I2C pad selection
Sourcepub const fn rtc_io_touch_ctrl(&self) -> &RTC_IO_TOUCH_CTRL
pub const fn rtc_io_touch_ctrl(&self) -> &RTC_IO_TOUCH_CTRL
0xe8 - Touch control register
Sourcepub const fn rtc_io_date(&self) -> &RTC_IO_DATE
pub const fn rtc_io_date(&self) -> &RTC_IO_DATE
0x1fc - Version control register
Auto Trait Implementations§
impl !Freeze for RegisterBlock
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