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>§
sourcepub fn t0config(&self) -> &Reg<T0CONFIG_SPEC>
pub fn t0config(&self) -> &Reg<T0CONFIG_SPEC>
0x00 -
sourcepub fn t0update(&self) -> &Reg<T0UPDATE_SPEC>
pub fn t0update(&self) -> &Reg<T0UPDATE_SPEC>
0x0c -
sourcepub fn t0alarmlo(&self) -> &Reg<T0ALARMLO_SPEC>
pub fn t0alarmlo(&self) -> &Reg<T0ALARMLO_SPEC>
0x10 -
sourcepub fn t0alarmhi(&self) -> &Reg<T0ALARMHI_SPEC>
pub fn t0alarmhi(&self) -> &Reg<T0ALARMHI_SPEC>
0x14 -
sourcepub fn t0loadlo(&self) -> &Reg<T0LOADLO_SPEC>
pub fn t0loadlo(&self) -> &Reg<T0LOADLO_SPEC>
0x18 -
sourcepub fn t0loadhi(&self) -> &Reg<T0LOADHI_SPEC>
pub fn t0loadhi(&self) -> &Reg<T0LOADHI_SPEC>
0x1c -
sourcepub fn t0load(&self) -> &Reg<T0LOAD_SPEC>
pub fn t0load(&self) -> &Reg<T0LOAD_SPEC>
0x20 -
sourcepub fn t1config(&self) -> &Reg<T1CONFIG_SPEC>
pub fn t1config(&self) -> &Reg<T1CONFIG_SPEC>
0x24 -
sourcepub fn t1update(&self) -> &Reg<T1UPDATE_SPEC>
pub fn t1update(&self) -> &Reg<T1UPDATE_SPEC>
0x30 -
sourcepub fn t1alarmlo(&self) -> &Reg<T1ALARMLO_SPEC>
pub fn t1alarmlo(&self) -> &Reg<T1ALARMLO_SPEC>
0x34 -
sourcepub fn t1alarmhi(&self) -> &Reg<T1ALARMHI_SPEC>
pub fn t1alarmhi(&self) -> &Reg<T1ALARMHI_SPEC>
0x38 -
sourcepub fn t1loadlo(&self) -> &Reg<T1LOADLO_SPEC>
pub fn t1loadlo(&self) -> &Reg<T1LOADLO_SPEC>
0x3c -
sourcepub fn t1loadhi(&self) -> &Reg<T1LOADHI_SPEC>
pub fn t1loadhi(&self) -> &Reg<T1LOADHI_SPEC>
0x40 -
sourcepub fn t1load(&self) -> &Reg<T1LOAD_SPEC>
pub fn t1load(&self) -> &Reg<T1LOAD_SPEC>
0x44 -
sourcepub fn wdtconfig0(&self) -> &Reg<WDTCONFIG0_SPEC>
pub fn wdtconfig0(&self) -> &Reg<WDTCONFIG0_SPEC>
0x48 -
sourcepub fn wdtconfig1(&self) -> &Reg<WDTCONFIG1_SPEC>
pub fn wdtconfig1(&self) -> &Reg<WDTCONFIG1_SPEC>
0x4c -
sourcepub fn wdtconfig2(&self) -> &Reg<WDTCONFIG2_SPEC>
pub fn wdtconfig2(&self) -> &Reg<WDTCONFIG2_SPEC>
0x50 -
sourcepub fn wdtconfig3(&self) -> &Reg<WDTCONFIG3_SPEC>
pub fn wdtconfig3(&self) -> &Reg<WDTCONFIG3_SPEC>
0x54 -
sourcepub fn wdtconfig4(&self) -> &Reg<WDTCONFIG4_SPEC>
pub fn wdtconfig4(&self) -> &Reg<WDTCONFIG4_SPEC>
0x58 -
sourcepub fn wdtconfig5(&self) -> &Reg<WDTCONFIG5_SPEC>
pub fn wdtconfig5(&self) -> &Reg<WDTCONFIG5_SPEC>
0x5c -
sourcepub fn wdtfeed(&self) -> &Reg<WDTFEED_SPEC>
pub fn wdtfeed(&self) -> &Reg<WDTFEED_SPEC>
0x60 -
sourcepub fn wdtwprotect(&self) -> &Reg<WDTWPROTECT_SPEC>
pub fn wdtwprotect(&self) -> &Reg<WDTWPROTECT_SPEC>
0x64 -
sourcepub fn rtccalicfg(&self) -> &Reg<RTCCALICFG_SPEC>
pub fn rtccalicfg(&self) -> &Reg<RTCCALICFG_SPEC>
0x68 -
sourcepub fn rtccalicfg1(&self) -> &Reg<RTCCALICFG1_SPEC>
pub fn rtccalicfg1(&self) -> &Reg<RTCCALICFG1_SPEC>
0x6c -
sourcepub fn lactconfig(&self) -> &Reg<LACTCONFIG_SPEC>
pub fn lactconfig(&self) -> &Reg<LACTCONFIG_SPEC>
0x70 -
sourcepub fn lactrtc(&self) -> &Reg<LACTRTC_SPEC>
pub fn lactrtc(&self) -> &Reg<LACTRTC_SPEC>
0x74 -
sourcepub fn lactlo(&self) -> &Reg<LACTLO_SPEC>
pub fn lactlo(&self) -> &Reg<LACTLO_SPEC>
0x78 -
sourcepub fn lacthi(&self) -> &Reg<LACTHI_SPEC>
pub fn lacthi(&self) -> &Reg<LACTHI_SPEC>
0x7c -
sourcepub fn lactupdate(&self) -> &Reg<LACTUPDATE_SPEC>
pub fn lactupdate(&self) -> &Reg<LACTUPDATE_SPEC>
0x80 -
sourcepub fn lactalarmlo(&self) -> &Reg<LACTALARMLO_SPEC>
pub fn lactalarmlo(&self) -> &Reg<LACTALARMLO_SPEC>
0x84 -
sourcepub fn lactalarmhi(&self) -> &Reg<LACTALARMHI_SPEC>
pub fn lactalarmhi(&self) -> &Reg<LACTALARMHI_SPEC>
0x88 -
sourcepub fn lactloadlo(&self) -> &Reg<LACTLOADLO_SPEC>
pub fn lactloadlo(&self) -> &Reg<LACTLOADLO_SPEC>
0x8c -
sourcepub fn lactloadhi(&self) -> &Reg<LACTLOADHI_SPEC>
pub fn lactloadhi(&self) -> &Reg<LACTLOADHI_SPEC>
0x90 -
sourcepub fn lactload(&self) -> &Reg<LACTLOAD_SPEC>
pub fn lactload(&self) -> &Reg<LACTLOAD_SPEC>
0x94 -
sourcepub fn int_ena_timers(&self) -> &Reg<INT_ENA_TIMERS_SPEC>
pub fn int_ena_timers(&self) -> &Reg<INT_ENA_TIMERS_SPEC>
0x98 -
sourcepub fn int_raw_timers(&self) -> &Reg<INT_RAW_TIMERS_SPEC>
pub fn int_raw_timers(&self) -> &Reg<INT_RAW_TIMERS_SPEC>
0x9c -
sourcepub fn int_st_timers(&self) -> &Reg<INT_ST_TIMERS_SPEC>
pub fn int_st_timers(&self) -> &Reg<INT_ST_TIMERS_SPEC>
0xa0 -
sourcepub fn int_clr_timers(&self) -> &Reg<INT_CLR_TIMERS_SPEC>
pub fn int_clr_timers(&self) -> &Reg<INT_CLR_TIMERS_SPEC>
0xa4 -
sourcepub fn ntimers_date(&self) -> &Reg<NTIMERS_DATE_SPEC>
pub fn ntimers_date(&self) -> &Reg<NTIMERS_DATE_SPEC>
0xf8 -
sourcepub 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
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