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