Struct esp32_hal::peripherals::FRC_TIMER
source · pub struct FRC_TIMER { /* private fields */ }
Implementations§
source§impl FRC_TIMER
impl FRC_TIMER
sourcepub unsafe fn steal() -> FRC_TIMER
pub unsafe fn steal() -> FRC_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>§
sourcepub fn timer_load(&self) -> &Reg<TIMER_LOAD_SPEC>
pub fn timer_load(&self) -> &Reg<TIMER_LOAD_SPEC>
0x00 -
sourcepub fn timer_count(&self) -> &Reg<TIMER_COUNT_SPEC>
pub fn timer_count(&self) -> &Reg<TIMER_COUNT_SPEC>
0x04 -
sourcepub fn timer_ctrl(&self) -> &Reg<TIMER_CTRL_SPEC>
pub fn timer_ctrl(&self) -> &Reg<TIMER_CTRL_SPEC>
0x08 -
sourcepub fn timer_int(&self) -> &Reg<TIMER_INT_SPEC>
pub fn timer_int(&self) -> &Reg<TIMER_INT_SPEC>
0x0c -
sourcepub fn timer_alarm(&self) -> &Reg<TIMER_ALARM_SPEC>
pub fn timer_alarm(&self) -> &Reg<TIMER_ALARM_SPEC>
0x10 -
Trait Implementations§
source§impl Peripheral for FRC_TIMER
impl Peripheral for FRC_TIMER
Auto Trait Implementations§
impl RefUnwindSafe for FRC_TIMER
impl Send for FRC_TIMER
impl Sync for FRC_TIMER
impl Unpin for FRC_TIMER
impl UnwindSafe for FRC_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