Struct esp32s3::timg0::RegisterBlock
source · #[repr(C)]pub struct RegisterBlock {Show 35 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 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 ntimers_date: NTIMERS_DATE,
pub regclk: REGCLK,
/* private fields */
}
Expand description
Register block
Fields§
§t0config: TCONFIG
0x00 - Timer %s configuration register
t0lo: TLO
0x04 - Timer %s current value, low 32 bits
t0hi: THI
0x08 - Timer %s current value, high 22 bits
t0update: TUPDATE
0x0c - Write to copy current timer value to TIMGn_T%s_(LO/HI)_REG
t0alarmlo: TALARMLO
0x10 - Timer %s alarm value, low 32 bits
t0alarmhi: TALARMHI
0x14 - Timer %s alarm value, high bits
t0loadlo: TLOADLO
0x18 - Timer %s reload value, low 32 bits
t0loadhi: TLOADHI
0x1c - Timer %s reload value, high 22 bits
t0load: TLOAD
0x20 - Write to reload timer from TIMG_T%s_(LOADLOLOADHI)_REG
t1config: TCONFIG
0x24 - Timer %s configuration register
t1lo: TLO
0x28 - Timer %s current value, low 32 bits
t1hi: THI
0x2c - Timer %s current value, high 22 bits
t1update: TUPDATE
0x30 - Write to copy current timer value to TIMGn_T%s_(LO/HI)_REG
t1alarmlo: TALARMLO
0x34 - Timer %s alarm value, low 32 bits
t1alarmhi: TALARMHI
0x38 - Timer %s alarm value, high bits
t1loadlo: TLOADLO
0x3c - Timer %s reload value, low 32 bits
t1loadhi: TLOADHI
0x40 - Timer %s reload value, high 22 bits
t1load: TLOAD
0x44 - Write to reload timer from TIMG_T%s_(LOADLOLOADHI)_REG
wdtconfig0: WDTCONFIG0
0x48 - Watchdog timer configuration register
wdtconfig1: WDTCONFIG1
0x4c - Watchdog timer prescaler register
wdtconfig2: WDTCONFIG2
0x50 - Watchdog timer stage 0 timeout value
wdtconfig3: WDTCONFIG3
0x54 - Watchdog timer stage 1 timeout value
wdtconfig4: WDTCONFIG4
0x58 - Watchdog timer stage 2 timeout value
wdtconfig5: WDTCONFIG5
0x5c - Watchdog timer stage 3 timeout value
wdtfeed: WDTFEED
0x60 - Write to feed the watchdog timer
wdtwprotect: WDTWPROTECT
0x64 - Watchdog write protect register
rtccalicfg: RTCCALICFG
0x68 - RTC calibration configure register
rtccalicfg1: RTCCALICFG1
0x6c - RTC calibration configure1 register
int_ena_timers: INT_ENA_TIMERS
0x70 - Interrupt enable bits
int_raw_timers: INT_RAW_TIMERS
0x74 - Raw interrupt status
int_st_timers: INT_ST_TIMERS
0x78 - Masked interrupt status
int_clr_timers: INT_CLR_TIMERS
0x7c - Interrupt clear bits
rtccalicfg2: RTCCALICFG2
0x80 - Timer group calibration register
ntimers_date: NTIMERS_DATE
0xf8 - Timer version control register
regclk: REGCLK
0xfc - Timer group clock gate register