Struct esp32_hal::peripherals::TIMG0
source · pub struct TIMG0 { /* private fields */ }
Implementations§
source§impl TIMG0
impl TIMG0
sourcepub unsafe fn steal() -> TIMG0
pub unsafe fn steal() -> TIMG0
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 t0config(&self) -> &Reg<T0CONFIG_SPEC>
pub fn t0config(&self) -> &Reg<T0CONFIG_SPEC>
0x00 -
pub fn t0lo(&self) -> &Reg<T0LO_SPEC>
pub fn t0lo(&self) -> &Reg<T0LO_SPEC>
0x04 -
pub fn t0hi(&self) -> &Reg<T0HI_SPEC>
pub fn t0hi(&self) -> &Reg<T0HI_SPEC>
0x08 -
pub fn t0update(&self) -> &Reg<T0UPDATE_SPEC>
pub fn t0update(&self) -> &Reg<T0UPDATE_SPEC>
0x0c -
pub fn t0alarmlo(&self) -> &Reg<T0ALARMLO_SPEC>
pub fn t0alarmlo(&self) -> &Reg<T0ALARMLO_SPEC>
0x10 -
pub fn t0alarmhi(&self) -> &Reg<T0ALARMHI_SPEC>
pub fn t0alarmhi(&self) -> &Reg<T0ALARMHI_SPEC>
0x14 -
pub fn t0loadlo(&self) -> &Reg<T0LOADLO_SPEC>
pub fn t0loadlo(&self) -> &Reg<T0LOADLO_SPEC>
0x18 -
pub fn t0loadhi(&self) -> &Reg<T0LOADHI_SPEC>
pub fn t0loadhi(&self) -> &Reg<T0LOADHI_SPEC>
0x1c -
pub fn t0load(&self) -> &Reg<T0LOAD_SPEC>
pub fn t0load(&self) -> &Reg<T0LOAD_SPEC>
0x20 -
pub fn t1config(&self) -> &Reg<T1CONFIG_SPEC>
pub fn t1config(&self) -> &Reg<T1CONFIG_SPEC>
0x24 -
pub fn t1lo(&self) -> &Reg<T1LO_SPEC>
pub fn t1lo(&self) -> &Reg<T1LO_SPEC>
0x28 -
pub fn t1hi(&self) -> &Reg<T1HI_SPEC>
pub fn t1hi(&self) -> &Reg<T1HI_SPEC>
0x2c -
pub fn t1update(&self) -> &Reg<T1UPDATE_SPEC>
pub fn t1update(&self) -> &Reg<T1UPDATE_SPEC>
0x30 -
pub fn t1alarmlo(&self) -> &Reg<T1ALARMLO_SPEC>
pub fn t1alarmlo(&self) -> &Reg<T1ALARMLO_SPEC>
0x34 -
pub fn t1alarmhi(&self) -> &Reg<T1ALARMHI_SPEC>
pub fn t1alarmhi(&self) -> &Reg<T1ALARMHI_SPEC>
0x38 -
pub fn t1loadlo(&self) -> &Reg<T1LOADLO_SPEC>
pub fn t1loadlo(&self) -> &Reg<T1LOADLO_SPEC>
0x3c -
pub fn t1loadhi(&self) -> &Reg<T1LOADHI_SPEC>
pub fn t1loadhi(&self) -> &Reg<T1LOADHI_SPEC>
0x40 -
pub fn t1load(&self) -> &Reg<T1LOAD_SPEC>
pub fn t1load(&self) -> &Reg<T1LOAD_SPEC>
0x44 -
pub fn wdtconfig0(&self) -> &Reg<WDTCONFIG0_SPEC>
pub fn wdtconfig0(&self) -> &Reg<WDTCONFIG0_SPEC>
0x48 -
pub fn wdtconfig1(&self) -> &Reg<WDTCONFIG1_SPEC>
pub fn wdtconfig1(&self) -> &Reg<WDTCONFIG1_SPEC>
0x4c -
pub fn wdtconfig2(&self) -> &Reg<WDTCONFIG2_SPEC>
pub fn wdtconfig2(&self) -> &Reg<WDTCONFIG2_SPEC>
0x50 -
pub fn wdtconfig3(&self) -> &Reg<WDTCONFIG3_SPEC>
pub fn wdtconfig3(&self) -> &Reg<WDTCONFIG3_SPEC>
0x54 -
pub fn wdtconfig4(&self) -> &Reg<WDTCONFIG4_SPEC>
pub fn wdtconfig4(&self) -> &Reg<WDTCONFIG4_SPEC>
0x58 -
pub fn wdtconfig5(&self) -> &Reg<WDTCONFIG5_SPEC>
pub fn wdtconfig5(&self) -> &Reg<WDTCONFIG5_SPEC>
0x5c -
pub fn wdtfeed(&self) -> &Reg<WDTFEED_SPEC>
pub fn wdtfeed(&self) -> &Reg<WDTFEED_SPEC>
0x60 -
pub fn wdtwprotect(&self) -> &Reg<WDTWPROTECT_SPEC>
pub fn wdtwprotect(&self) -> &Reg<WDTWPROTECT_SPEC>
0x64 -
pub fn rtccalicfg(&self) -> &Reg<RTCCALICFG_SPEC>
pub fn rtccalicfg(&self) -> &Reg<RTCCALICFG_SPEC>
0x68 -
pub fn rtccalicfg1(&self) -> &Reg<RTCCALICFG1_SPEC>
pub fn rtccalicfg1(&self) -> &Reg<RTCCALICFG1_SPEC>
0x6c -
pub fn lactconfig(&self) -> &Reg<LACTCONFIG_SPEC>
pub fn lactconfig(&self) -> &Reg<LACTCONFIG_SPEC>
0x70 -
pub fn lactrtc(&self) -> &Reg<LACTRTC_SPEC>
pub fn lactrtc(&self) -> &Reg<LACTRTC_SPEC>
0x74 -
pub fn lactlo(&self) -> &Reg<LACTLO_SPEC>
pub fn lactlo(&self) -> &Reg<LACTLO_SPEC>
0x78 -
pub fn lacthi(&self) -> &Reg<LACTHI_SPEC>
pub fn lacthi(&self) -> &Reg<LACTHI_SPEC>
0x7c -
pub fn lactupdate(&self) -> &Reg<LACTUPDATE_SPEC>
pub fn lactupdate(&self) -> &Reg<LACTUPDATE_SPEC>
0x80 -
pub fn lactalarmlo(&self) -> &Reg<LACTALARMLO_SPEC>
pub fn lactalarmlo(&self) -> &Reg<LACTALARMLO_SPEC>
0x84 -
pub fn lactalarmhi(&self) -> &Reg<LACTALARMHI_SPEC>
pub fn lactalarmhi(&self) -> &Reg<LACTALARMHI_SPEC>
0x88 -
pub fn lactloadlo(&self) -> &Reg<LACTLOADLO_SPEC>
pub fn lactloadlo(&self) -> &Reg<LACTLOADLO_SPEC>
0x8c -
pub fn lactloadhi(&self) -> &Reg<LACTLOADHI_SPEC>
pub fn lactloadhi(&self) -> &Reg<LACTLOADHI_SPEC>
0x90 -
pub fn lactload(&self) -> &Reg<LACTLOAD_SPEC>
pub fn lactload(&self) -> &Reg<LACTLOAD_SPEC>
0x94 -
pub fn int_ena_timers(&self) -> &Reg<INT_ENA_TIMERS_SPEC>
pub fn int_ena_timers(&self) -> &Reg<INT_ENA_TIMERS_SPEC>
0x98 -
pub fn int_raw_timers(&self) -> &Reg<INT_RAW_TIMERS_SPEC>
pub fn int_raw_timers(&self) -> &Reg<INT_RAW_TIMERS_SPEC>
0x9c -
pub fn int_st_timers(&self) -> &Reg<INT_ST_TIMERS_SPEC>
pub fn int_st_timers(&self) -> &Reg<INT_ST_TIMERS_SPEC>
0xa0 -
pub fn int_clr_timers(&self) -> &Reg<INT_CLR_TIMERS_SPEC>
pub fn int_clr_timers(&self) -> &Reg<INT_CLR_TIMERS_SPEC>
0xa4 -
pub fn ntimers_date(&self) -> &Reg<NTIMERS_DATE_SPEC>
pub fn ntimers_date(&self) -> &Reg<NTIMERS_DATE_SPEC>
0xf8 -
pub fn timgclk(&self) -> &Reg<TIMGCLK_SPEC>
pub fn timgclk(&self) -> &Reg<TIMGCLK_SPEC>
0xfc -
Trait Implementations§
source§impl Peripheral for TIMG0
impl Peripheral for TIMG0
source§impl TimerGroupInstance for TIMG0
impl TimerGroupInstance for TIMG0
fn register_block() -> *const RegisterBlock
fn configure_src_clk()
fn configure_wdt_src_clk()
Auto Trait Implementations§
impl RefUnwindSafe for TIMG0
impl Send for TIMG0
impl Sync for TIMG0
impl Unpin for TIMG0
impl UnwindSafe for TIMG0
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