Struct esp32c6_hal::peripherals::LP_TIMER
source · pub struct LP_TIMER { /* private fields */ }
Implementations§
source§impl LP_TIMER
impl LP_TIMER
sourcepub unsafe fn steal() -> LP_TIMER
pub unsafe fn steal() -> LP_TIMER
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>§
pub fn tar0_low(&self) -> &Reg<TAR0_LOW_SPEC>
pub fn tar0_low(&self) -> &Reg<TAR0_LOW_SPEC>
0x00 - need_des
pub fn tar0_high(&self) -> &Reg<TAR0_HIGH_SPEC>
pub fn tar0_high(&self) -> &Reg<TAR0_HIGH_SPEC>
0x04 - need_des
pub fn tar1_low(&self) -> &Reg<TAR1_LOW_SPEC>
pub fn tar1_low(&self) -> &Reg<TAR1_LOW_SPEC>
0x08 - need_des
pub fn tar1_high(&self) -> &Reg<TAR1_HIGH_SPEC>
pub fn tar1_high(&self) -> &Reg<TAR1_HIGH_SPEC>
0x0c - need_des
pub fn update(&self) -> &Reg<UPDATE_SPEC>
pub fn update(&self) -> &Reg<UPDATE_SPEC>
0x10 - need_des
pub fn main_buf0_low(&self) -> &Reg<MAIN_BUF0_LOW_SPEC>
pub fn main_buf0_low(&self) -> &Reg<MAIN_BUF0_LOW_SPEC>
0x14 - need_des
pub fn main_buf0_high(&self) -> &Reg<MAIN_BUF0_HIGH_SPEC>
pub fn main_buf0_high(&self) -> &Reg<MAIN_BUF0_HIGH_SPEC>
0x18 - need_des
pub fn main_buf1_low(&self) -> &Reg<MAIN_BUF1_LOW_SPEC>
pub fn main_buf1_low(&self) -> &Reg<MAIN_BUF1_LOW_SPEC>
0x1c - need_des
pub fn main_buf1_high(&self) -> &Reg<MAIN_BUF1_HIGH_SPEC>
pub fn main_buf1_high(&self) -> &Reg<MAIN_BUF1_HIGH_SPEC>
0x20 - need_des
pub fn main_overflow(&self) -> &Reg<MAIN_OVERFLOW_SPEC>
pub fn main_overflow(&self) -> &Reg<MAIN_OVERFLOW_SPEC>
0x24 - need_des
pub fn int_raw(&self) -> &Reg<INT_RAW_SPEC>
pub fn int_raw(&self) -> &Reg<INT_RAW_SPEC>
0x28 - need_des
pub fn int_st(&self) -> &Reg<INT_ST_SPEC>
pub fn int_st(&self) -> &Reg<INT_ST_SPEC>
0x2c - need_des
pub fn int_ena(&self) -> &Reg<INT_ENA_SPEC>
pub fn int_ena(&self) -> &Reg<INT_ENA_SPEC>
0x30 - need_des
pub fn int_clr(&self) -> &Reg<INT_CLR_SPEC>
pub fn int_clr(&self) -> &Reg<INT_CLR_SPEC>
0x34 - need_des
pub fn lp_int_raw(&self) -> &Reg<LP_INT_RAW_SPEC>
pub fn lp_int_raw(&self) -> &Reg<LP_INT_RAW_SPEC>
0x38 - need_des
pub fn lp_int_st(&self) -> &Reg<LP_INT_ST_SPEC>
pub fn lp_int_st(&self) -> &Reg<LP_INT_ST_SPEC>
0x3c - need_des
pub fn lp_int_ena(&self) -> &Reg<LP_INT_ENA_SPEC>
pub fn lp_int_ena(&self) -> &Reg<LP_INT_ENA_SPEC>
0x40 - need_des
pub fn lp_int_clr(&self) -> &Reg<LP_INT_CLR_SPEC>
pub fn lp_int_clr(&self) -> &Reg<LP_INT_CLR_SPEC>
0x44 - need_des
pub fn date(&self) -> &Reg<DATE_SPEC>
pub fn date(&self) -> &Reg<DATE_SPEC>
0x3fc - need_des
Trait Implementations§
source§impl Peripheral for LP_TIMER
impl Peripheral for LP_TIMER
Auto Trait Implementations§
impl RefUnwindSafe for LP_TIMER
impl Send for LP_TIMER
impl Sync for LP_TIMER
impl Unpin for LP_TIMER
impl UnwindSafe for LP_TIMER
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