Rp2040/Components/driver/include/driver/hw_timer.h
Go to the documentation of this file.
96 void hw_timer1_attach_interrupt(hw_timer_source_type_t source_type, hw_timer_callback_t callback, void* arg);
bool timer1_autoload
Definition: Rp2040/Components/driver/include/driver/hw_timer.h:84
uint32_t hw_timer1_read(void)
Get timer1 count.
Definition: Esp8266/Components/driver/include/driver/hw_timer.h:132
hw_timer_clkdiv_t timer1_clkdiv
Definition: Rp2040/Components/driver/include/driver/hw_timer.h:81
hw_timer_source_type_t
Definition: Rp2040/Components/driver/include/driver/hw_timer.h:74
Time< T > time(Unit unit, T value)
Helper function to create a Time and deduce the type.
Definition: NanoTime.h:429
uint32_t hw_timer2_read(void)
Read current timer2 value.
Definition: Esp8266/Components/driver/include/driver/hw_timer.h:157
void * timer1_arg
Definition: Rp2040/Components/driver/include/driver/hw_timer.h:85
uint32_t timer1_ticks
Definition: Rp2040/Components/driver/include/driver/hw_timer.h:83
void(* hw_timer_callback_t)(void *arg)
Definition: Rp2040/Components/driver/include/driver/hw_timer.h:61
uint32_t hw_timer_ticks()
Fetch 32-bit microsecond count.
Definition: Rp2040/Components/driver/include/driver/hw_timer.h:37
hw_timer_intr_type_t
Definition: Rp2040/Components/driver/include/driver/hw_timer.h:69
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
void hw_timer1_write(uint32_t ticks)
Set the timer interval.
Definition: Esp8266/Components/driver/include/driver/hw_timer.h:104
void hw_timer1_detach_interrupt(void)
Detach interrupt from the timer.
Definition: Esp8266/Components/driver/include/driver/hw_timer.h:121
struct hw_timer_private_t hw_timer_private
@ TIMER_FRC1_SOURCE
Definition: Rp2040/Components/driver/include/driver/hw_timer.h:75
hw_timer_callback_t timer1_callback
Definition: Rp2040/Components/driver/include/driver/hw_timer.h:82
void hw_timer1_disable(void)
Disable the timer.
Definition: Esp8266/Components/driver/include/driver/hw_timer.h:112
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.
Definition: Rp2040/Components/driver/include/driver/hw_timer.h:80