Page 1 of 1

Time commands and its relation with timers in the ESP32 Board (Arduino IDE)

Posted: Thu Jun 18, 2020 2:17 pm
by jgomez109
Hi.

The arduino board uses the millis () function, using Timer 0.The ESP32 board has two timer group, each one with 2 timers (Timer Group 1: TIMER 0 - TIMER 1, Timer Group 2: TIMER 2- TIMER 3). The question is what timers are used when using the following commands (ARDUINO IDE) ?

a) esp_timer_get_time();
b) xTaskGetTickCount();
c) millis();
d) micros();
e) esp_log_timestamp();