Esp8266/Components/driver/include/driver/hw_timer.h
Go to the documentation of this file.
77 void IRAM_ATTR hw_timer1_attach_interrupt(hw_timer_source_type_t source_type, hw_timer_callback_t callback, void* arg);
85 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: Esp8266/Components/driver/include/driver/hw_timer.h:151
Definition: Esp8266/Components/driver/include/driver/hw_timer.h:57
Definition: Esp8266/Components/driver/include/driver/hw_timer.h:63
hw_timer_source_type_t
Definition: Esp8266/Components/driver/include/driver/hw_timer.h:66
void hw_timer1_disable(void)
Disable the timer.
Definition: Esp8266/Components/driver/include/driver/hw_timer.h:112
Definition: Esp8266/Components/driver/include/driver/hw_timer.h:58
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: Esp8266/Components/driver/include/driver/hw_timer.h:62
hw_timer_clkdiv_t
Definition: Esp8266/Components/driver/include/driver/hw_timer.h:55
void(* hw_timer_callback_t)(void *arg)
Definition: Esp8266/Components/driver/include/driver/hw_timer.h:53
hw_timer_intr_type_t
Definition: Esp8266/Components/driver/include/driver/hw_timer.h:61
Definition: Esp8266/Components/driver/include/driver/hw_timer.h:56
constexpr uint32_t HW_TIMER2_CLKDIV
Definition: Esp8266/Components/driver/include/driver/hw_timer.h:148
#define HW_TIMER_BASE_CLK
Definition: Esp8266/Components/driver/include/driver/hw_timer.h:15
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: Esp8266/Components/driver/include/driver/hw_timer.h:67
void hw_timer2_set_alarm(uint32_t ticks)
Set timer2 alarm count value.
Definition: Esp8266/Components/driver/include/driver/hw_timer.h:167
Definition: Esp8266/Components/driver/include/driver/hw_timer.h:68