no-OS
|
Structure holding timer function pointers that point to the platform specific function. More...
#include <no_os_timer.h>
Public Attributes | |
int32_t(* | init )(struct no_os_timer_desc **, const struct no_os_timer_init_param *) |
int32_t(* | start )(struct no_os_timer_desc *) |
int32_t(* | stop )(struct no_os_timer_desc *) |
int32_t(* | counter_get )(struct no_os_timer_desc *, uint32_t *counter) |
int32_t(* | counter_set )(struct no_os_timer_desc *, uint32_t new_val) |
int32_t(* | count_clk_get )(struct no_os_timer_desc *, uint32_t *freq_hz) |
int32_t(* | count_clk_set )(struct no_os_timer_desc *, uint32_t freq_hz) |
int32_t(* | get_elapsed_time_nsec )(struct no_os_timer_desc *, uint64_t *elapsed_time) |
int32_t(* | remove )(struct no_os_timer_desc *) |
Structure holding timer function pointers that point to the platform specific function.
int32_t(* no_os_timer_platform_ops::count_clk_get) (struct no_os_timer_desc *, uint32_t *freq_hz) |
timer get clock frequency function pointer
int32_t(* no_os_timer_platform_ops::count_clk_set) (struct no_os_timer_desc *, uint32_t freq_hz) |
timer set clock frequency function pointer
int32_t(* no_os_timer_platform_ops::counter_get) (struct no_os_timer_desc *, uint32_t *counter) |
timer get counter function pointer
int32_t(* no_os_timer_platform_ops::counter_set) (struct no_os_timer_desc *, uint32_t new_val) |
timer set counter function pointer
int32_t(* no_os_timer_platform_ops::get_elapsed_time_nsec) (struct no_os_timer_desc *, uint64_t *elapsed_time) |
timer get elapsed time in nsec
int32_t(* no_os_timer_platform_ops::init) (struct no_os_timer_desc **, const struct no_os_timer_init_param *) |
timer initialization function pointer
int32_t(* no_os_timer_platform_ops::remove) (struct no_os_timer_desc *) |
timer remove function pointer
int32_t(* no_os_timer_platform_ops::start) (struct no_os_timer_desc *) |
timer start function pointer
int32_t(* no_os_timer_platform_ops::stop) (struct no_os_timer_desc *) |
timer stop function pointer