Esp32/Components/driver/include/driver/hw_timer.h
Go to the documentation of this file.
78 void IRAM_ATTR hw_timer1_attach_interrupt(hw_timer_source_type_t source_type, hw_timer_callback_t callback, void* arg);
86 inline void IRAM_ATTR hw_timer1_enable(hw_timer_clkdiv_t div, hw_timer_intr_type_t intr_type, bool auto_load)
void hw_timer1_write(uint32_t ticks)
Set the timer interval.
Definition: Esp8266/Components/driver/include/driver/hw_timer.h:104
uint32_t hw_timer2_read(void)
Read current timer2 value.
Definition: Esp8266/Components/driver/include/driver/hw_timer.h:157
constexpr uint32_t HW_TIMER2_CLK
Definition: Esp32/Components/driver/include/driver/hw_timer.h:146
Definition: Esp32/Components/driver/include/driver/hw_timer.h:58
Definition: Esp32/Components/driver/include/driver/hw_timer.h:64
hw_timer_source_type_t
Definition: Esp32/Components/driver/include/driver/hw_timer.h:67
void hw_timer1_disable(void)
Disable the timer.
Definition: Esp8266/Components/driver/include/driver/hw_timer.h:112
Definition: Esp32/Components/driver/include/driver/hw_timer.h:59
#define HW_TIMER_BASE_CLK
Definition: Esp32/Components/driver/include/driver/hw_timer.h:16
void hw_timer1_enable(hw_timer_clkdiv_t div, hw_timer_intr_type_t intr_type, bool auto_load)
Enable the timer.
Definition: Esp8266/Components/driver/include/driver/hw_timer.h:85
Definition: Esp32/Components/driver/include/driver/hw_timer.h:63
void(* hw_timer_callback_t)(void *arg)
Definition: Esp32/Components/driver/include/driver/hw_timer.h:54
hw_timer_intr_type_t
Definition: Esp32/Components/driver/include/driver/hw_timer.h:62
Definition: Esp32/Components/driver/include/driver/hw_timer.h:57
constexpr uint32_t HW_TIMER2_CLKDIV
Definition: Esp32/Components/driver/include/driver/hw_timer.h:145
void hw_timer1_attach_interrupt(hw_timer_source_type_t source_type, hw_timer_callback_t callback, void *arg)
Attach an interrupt for the timer.
void hw_timer1_detach_interrupt(void)
Detach interrupt from the timer.
Definition: Esp8266/Components/driver/include/driver/hw_timer.h:121
uint32_t hw_timer1_read(void)
Get timer1 count.
Definition: Esp8266/Components/driver/include/driver/hw_timer.h:132
Definition: Esp32/Components/driver/include/driver/hw_timer.h:68
Definition: Esp32/Components/driver/include/driver/hw_timer.h:69