Struct esp32c6_hal::peripherals::TIMG1
source · pub struct TIMG1 { /* private fields */ }
Implementations§
source§impl TIMG1
impl TIMG1
sourcepub unsafe fn steal() -> TIMG1
pub unsafe fn steal() -> TIMG1
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 - Timer %s configuration register
pub fn t0lo(&self) -> &Reg<T0LO_SPEC>
pub fn t0lo(&self) -> &Reg<T0LO_SPEC>
0x04 - Timer %s current value, low 32 bits
pub fn t0hi(&self) -> &Reg<T0HI_SPEC>
pub fn t0hi(&self) -> &Reg<T0HI_SPEC>
0x08 - Timer %s current value, high 22 bits
pub fn t0update(&self) -> &Reg<T0UPDATE_SPEC>
pub fn t0update(&self) -> &Reg<T0UPDATE_SPEC>
0x0c - Write to copy current timer value to TIMGn_T%s_(LO/HI)_REG
pub fn t0alarmlo(&self) -> &Reg<T0ALARMLO_SPEC>
pub fn t0alarmlo(&self) -> &Reg<T0ALARMLO_SPEC>
0x10 - Timer %s alarm value, low 32 bits
pub fn t0alarmhi(&self) -> &Reg<T0ALARMHI_SPEC>
pub fn t0alarmhi(&self) -> &Reg<T0ALARMHI_SPEC>
0x14 - Timer %s alarm value, high bits
pub fn t0loadlo(&self) -> &Reg<T0LOADLO_SPEC>
pub fn t0loadlo(&self) -> &Reg<T0LOADLO_SPEC>
0x18 - Timer %s reload value, low 32 bits
pub fn t0loadhi(&self) -> &Reg<T0LOADHI_SPEC>
pub fn t0loadhi(&self) -> &Reg<T0LOADHI_SPEC>
0x1c - Timer %s reload value, high 22 bits
pub fn t0load(&self) -> &Reg<T0LOAD_SPEC>
pub fn t0load(&self) -> &Reg<T0LOAD_SPEC>
0x20 - Write to reload timer from TIMG_T%s_(LOADLOLOADHI)_REG
pub fn wdtconfig0(&self) -> &Reg<WDTCONFIG0_SPEC>
pub fn wdtconfig0(&self) -> &Reg<WDTCONFIG0_SPEC>
0x48 - Watchdog timer configuration register
pub fn wdtconfig1(&self) -> &Reg<WDTCONFIG1_SPEC>
pub fn wdtconfig1(&self) -> &Reg<WDTCONFIG1_SPEC>
0x4c - Watchdog timer prescaler register
pub fn wdtconfig2(&self) -> &Reg<WDTCONFIG2_SPEC>
pub fn wdtconfig2(&self) -> &Reg<WDTCONFIG2_SPEC>
0x50 - Watchdog timer stage 0 timeout value
pub fn wdtconfig3(&self) -> &Reg<WDTCONFIG3_SPEC>
pub fn wdtconfig3(&self) -> &Reg<WDTCONFIG3_SPEC>
0x54 - Watchdog timer stage 1 timeout value
pub fn wdtconfig4(&self) -> &Reg<WDTCONFIG4_SPEC>
pub fn wdtconfig4(&self) -> &Reg<WDTCONFIG4_SPEC>
0x58 - Watchdog timer stage 2 timeout value
pub fn wdtconfig5(&self) -> &Reg<WDTCONFIG5_SPEC>
pub fn wdtconfig5(&self) -> &Reg<WDTCONFIG5_SPEC>
0x5c - Watchdog timer stage 3 timeout value
pub fn wdtfeed(&self) -> &Reg<WDTFEED_SPEC>
pub fn wdtfeed(&self) -> &Reg<WDTFEED_SPEC>
0x60 - Write to feed the watchdog timer
pub fn wdtwprotect(&self) -> &Reg<WDTWPROTECT_SPEC>
pub fn wdtwprotect(&self) -> &Reg<WDTWPROTECT_SPEC>
0x64 - Watchdog write protect register
pub fn rtccalicfg(&self) -> &Reg<RTCCALICFG_SPEC>
pub fn rtccalicfg(&self) -> &Reg<RTCCALICFG_SPEC>
0x68 - RTC calibration configure register
pub fn rtccalicfg1(&self) -> &Reg<RTCCALICFG1_SPEC>
pub fn rtccalicfg1(&self) -> &Reg<RTCCALICFG1_SPEC>
0x6c - RTC calibration configure1 register
pub fn int_ena_timers(&self) -> &Reg<INT_ENA_TIMERS_SPEC>
pub fn int_ena_timers(&self) -> &Reg<INT_ENA_TIMERS_SPEC>
0x70 - Interrupt enable bits
pub fn int_raw_timers(&self) -> &Reg<INT_RAW_TIMERS_SPEC>
pub fn int_raw_timers(&self) -> &Reg<INT_RAW_TIMERS_SPEC>
0x74 - Raw interrupt status
pub fn int_st_timers(&self) -> &Reg<INT_ST_TIMERS_SPEC>
pub fn int_st_timers(&self) -> &Reg<INT_ST_TIMERS_SPEC>
0x78 - Masked interrupt status
pub fn int_clr_timers(&self) -> &Reg<INT_CLR_TIMERS_SPEC>
pub fn int_clr_timers(&self) -> &Reg<INT_CLR_TIMERS_SPEC>
0x7c - Interrupt clear bits
pub fn rtccalicfg2(&self) -> &Reg<RTCCALICFG2_SPEC>
pub fn rtccalicfg2(&self) -> &Reg<RTCCALICFG2_SPEC>
0x80 - Timer group calibration register
pub fn ntimers_date(&self) -> &Reg<NTIMERS_DATE_SPEC>
pub fn ntimers_date(&self) -> &Reg<NTIMERS_DATE_SPEC>
0xf8 - Timer version control register
pub fn regclk(&self) -> &Reg<REGCLK_SPEC>
pub fn regclk(&self) -> &Reg<REGCLK_SPEC>
0xfc - Timer group clock gate register