Struct esp32s2::timg0::RegisterBlock
source · #[repr(C)]pub struct RegisterBlock {Show 45 fields
pub t0config: TCONFIG,
pub t0lo: TLO,
pub t0hi: THI,
pub t0update: TUPDATE,
pub t0alarmlo: TALARMLO,
pub t0alarmhi: TALARMHI,
pub t0loadlo: TLOADLO,
pub t0loadhi: TLOADHI,
pub t0load: TLOAD,
pub t1config: TCONFIG,
pub t1lo: TLO,
pub t1hi: THI,
pub t1update: TUPDATE,
pub t1alarmlo: TALARMLO,
pub t1alarmhi: TALARMHI,
pub t1loadlo: TLOADLO,
pub t1loadhi: TLOADHI,
pub t1load: TLOAD,
pub wdtconfig0: WDTCONFIG0,
pub wdtconfig1: WDTCONFIG1,
pub wdtconfig2: WDTCONFIG2,
pub wdtconfig3: WDTCONFIG3,
pub wdtconfig4: WDTCONFIG4,
pub wdtconfig5: WDTCONFIG5,
pub wdtfeed: WDTFEED,
pub wdtwprotect: WDTWPROTECT,
pub rtccalicfg: RTCCALICFG,
pub rtccalicfg1: RTCCALICFG1,
pub lactconfig: LACTCONFIG,
pub lactrtc: LACTRTC,
pub lactlo: LACTLO,
pub lacthi: LACTHI,
pub lactupdate: LACTUPDATE,
pub lactalarmlo: LACTALARMLO,
pub lactalarmhi: LACTALARMHI,
pub lactloadlo: LACTLOADLO,
pub lactloadhi: LACTLOADHI,
pub lactload: LACTLOAD,
pub int_ena_timers: INT_ENA_TIMERS,
pub int_raw_timers: INT_RAW_TIMERS,
pub int_st_timers: INT_ST_TIMERS,
pub int_clr_timers: INT_CLR_TIMERS,
pub rtccalicfg2: RTCCALICFG2,
pub timers_date: TIMERS_DATE,
pub regclk: REGCLK,
/* private fields */
}Expand description
Register block
Fields§
§t0config: TCONFIG0x00 - Timer %s configuration register
t0lo: TLO0x04 - Timer %s current value, low 32 bits
t0hi: THI0x08 - Timer %s current value, high 32 bits
t0update: TUPDATE0x0c - Write to copy current timer value to TIMG_T%sLO_REG or TIMGn_T%sHI_REG
t0alarmlo: TALARMLO0x10 - Timer %s alarm value, low 32 bits
t0alarmhi: TALARMHI0x14 - Timer %s alarm value, high bits
t0loadlo: TLOADLO0x18 - Timer %s reload value, low 32 bits
t0loadhi: TLOADHI0x1c - Timer %s reload value, high 32 bits
t0load: TLOAD0x20 - Write to reload timer from TIMG_T%sLOADLO_REG or TIMG_T%sLOADHI_REG
t1config: TCONFIG0x24 - Timer %s configuration register
t1lo: TLO0x28 - Timer %s current value, low 32 bits
t1hi: THI0x2c - Timer %s current value, high 32 bits
t1update: TUPDATE0x30 - Write to copy current timer value to TIMG_T%sLO_REG or TIMGn_T%sHI_REG
t1alarmlo: TALARMLO0x34 - Timer %s alarm value, low 32 bits
t1alarmhi: TALARMHI0x38 - Timer %s alarm value, high bits
t1loadlo: TLOADLO0x3c - Timer %s reload value, low 32 bits
t1loadhi: TLOADHI0x40 - Timer %s reload value, high 32 bits
t1load: TLOAD0x44 - Write to reload timer from TIMG_T%sLOADLO_REG or TIMG_T%sLOADHI_REG
wdtconfig0: WDTCONFIG00x48 - Watchdog timer configuration register
wdtconfig1: WDTCONFIG10x4c - Watchdog timer prescaler register
wdtconfig2: WDTCONFIG20x50 - Watchdog timer stage 0 timeout value
wdtconfig3: WDTCONFIG30x54 - Watchdog timer stage 1 timeout value
wdtconfig4: WDTCONFIG40x58 - Watchdog timer stage 2 timeout value
wdtconfig5: WDTCONFIG50x5c - Watchdog timer stage 3 timeout value
wdtfeed: WDTFEED0x60 - Write to feed the watchdog timer
wdtwprotect: WDTWPROTECT0x64 - Watchdog write protect register
rtccalicfg: RTCCALICFG0x68 - RTC calibration configuration register
rtccalicfg1: RTCCALICFG10x6c - RTC calibration configuration register 1
lactconfig: LACTCONFIG0x70 - LACT configuration register
lactrtc: LACTRTC0x74 - LACT RTC register
lactlo: LACTLO0x78 - LACT low register
lacthi: LACTHI0x7c - LACT high register
lactupdate: LACTUPDATE0x80 - LACT update register
lactalarmlo: LACTALARMLO0x84 - LACT alarm low register
lactalarmhi: LACTALARMHI0x88 - LACT alarm high register
lactloadlo: LACTLOADLO0x8c - LACT load low register
lactloadhi: LACTLOADHI0x90 - Timer LACT load high register
lactload: LACTLOAD0x94 - Timer LACT load register
int_ena_timers: INT_ENA_TIMERS0x98 - Interrupt enable bits
int_raw_timers: INT_RAW_TIMERS0x9c - Raw interrupt status
int_st_timers: INT_ST_TIMERS0xa0 - Masked interrupt status
int_clr_timers: INT_CLR_TIMERS0xa4 - Interrupt clear bits
rtccalicfg2: RTCCALICFG20xa8 - Timer group calibration register
timers_date: TIMERS_DATE0xf8 - Version control register
regclk: REGCLK0xfc - Timer group clock gate register