Les registres TIMER

publication: 29 décembre 2021 / mis à jour 29 décembre 2021

Read this page in english

 

Appel à collaboration

Vous développez des montages, simples ou complexes avec ESP32 et ESP32forth.

Partagez-les ici sur ce site.

ESP32forth ne pourra se développer qu'avec la collaboration active de toutes les bonnes volontés.

Vos montages peuvent aider d'autres développeurs.

Les montages des autres développeurs peuvent vous aider.

Pour proposer un article ou un montage, cliquez ici


Résumé des registres

NameDescriptionTIMG0TIMG1Acc
Timer 0 configuration and control registers
TIMGn_T0CONFIG_REGTimer 0 configuration register$3FF5F000$3FF60000R/W
TIMGn_T0LO_REGTimer 0 current value, low 32 bits$3FF5F004$3FF60004RO
TIMGn_T0HI_REGTimer 0 current value, high 32 bits$3FF5F008$3FF60008RO
TIMGn_T0UPDATE_REGWrite to copy current timer value to
TIMGn_T0_(LO/HI)_REG
$3FF5F00C$3FF6000CWO
TIMGn_T0ALARMLO_REGTimer 0 alarm value, low 32 bits$3FF5F010$3FF60010R/W
TIMGn_T0ALARMHI_REGTimer 0 alarm value, high bits$3FF5F014$3FF60014R/W
TIMGn_T0LOADLO_REGTimer 0 reload value, low 32 bits$3FF5F018$3FF60018R/W
TIMGn_T0LOAD_REGWrite to reload timer from
TIMGn_T0_(LOADLOLOADHI)_REG
$3FF5F020$3FF60020WO
Timer 1 configuration and control registers
TIMGn_T1CONFIG_REGTimer 1 configuration register$3FF5F024$3FF60024R/W
TIMGn_T1LO_REGTimer 1 current value, low 32 bits$3FF5F028$3FF60028RO
TIMGn_T1HI_REGTimer 1 current value, high 32 bits$3FF5F02C$3FF6002CRO
TIMGn_T1UPDATE_REGWrite to copy current timer value to TIMGn_T1_(LO/HI)_REG$3FF5F030$3FF60030WO
TIMGn_T1ALARMLO_REGTimer 1 alarm value, low 32 bits$3FF5F034$3FF60034R/W
TIMGn_T1ALARMHI_REGTimer 1 alarm value, high 32 bits$3FF5F038$3FF60038R/W
TIMGn_T1LOADLO_REGTimer 1 reload value, low 32 bits$3FF5F03C$3FF6003CR/W
TIMGn_T1LOAD_REGWrite to reload timer from TIMGn_T1_(LOADLOLOADHI)_REG$3FF5F044$3FF60044WO
System watchdog timer configuration and control registers
TIMGn_Tx_WDTCONFIG0_REGWatchdog timer configuration register$3FF5F048$3FF60048R/W
TIMGn_Tx_WDTCONFIG1_REGWatchdog timer prescaler register$3FF5F04C$3FF6004CR/W
TIMGn_Tx_WDTCONFIG2_REGWatchdog timer stage 0 timeout value$3FF5F050$3FF60050R/W
TIMGn_Tx_WDTCONFIG3_REGWatchdog timer stage 1 timeout value$3FF5F054$3FF60054R/W
TIMGn_Tx_WDTCONFIG4_REGWatchdog timer stage 2 timeout value$3FF5F058$3FF60058R/W
TIMGn_Tx_WDTCONFIG5_REGWatchdog timer stage 3 timeout value$3FF5F05C$3FF6005CR/W
TIMGn_Tx_WDTFEED_REGWrite to feed the watchdog timer$3FF5F060$3FF60060WO
TIMGn_Tx_WDTWPROTECT_REGWatchdog write protect register$3FF5F064$3FF60064R/W
Configuration and Control Register for RTC CALI
TIMGn_RTCCALICFG_REGRTC calibration configuration register$3FF5F068$3FF60068varies
TIMGn_RTCCALICFG1_REGRTC calibration configuration register 1$3FF5F06C$3FF6006CRO
Interrupt registers
TIMGn_Tx_INT_ENA_REGInterrupt enable bits$3FF5F098$3FF60098R/W
TIMGn_Tx_INT_RAW_REGRaw interrupt status$3FF5F09C$3FF6009CRO
TIMGn_Tx_INT_ST_REGMasked interrupt status$3FF5F0A0$3FF600A0RO
TIMGn_Tx_INT_CLR_REGInterrupt clear bits$3FF5F0A4$3FF600A4WO

TIMGn_T0CONFIG_REG

\  31 30 29 28                                                 13 12 11 10   
\ |__|__|__|_____________________________________________________|__|__|__|__ 
 
$3ff5f000 constant TIMG_BASE 
: TIMGn_T0CONFIG_REG ( n -- a )  
    $10000 * TIMG_BASE + ; 

Legal: site web personnel sans commerce / personal site without seling