Public Attributes | List of all members
no_os_timer_platform_ops Struct Reference

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 *)

Detailed Description

Structure holding timer function pointers that point to the platform specific function.

Member Data Documentation

◆ count_clk_get

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

◆ count_clk_set

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

◆ counter_get

int32_t(* no_os_timer_platform_ops::counter_get) (struct no_os_timer_desc *, uint32_t *counter)

timer get counter function pointer

◆ counter_set

int32_t(* no_os_timer_platform_ops::counter_set) (struct no_os_timer_desc *, uint32_t new_val)

timer set counter function pointer

◆ get_elapsed_time_nsec

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

◆ init

int32_t(* no_os_timer_platform_ops::init) (struct no_os_timer_desc **, const struct no_os_timer_init_param *)

timer initialization function pointer

◆ remove

int32_t(* no_os_timer_platform_ops::remove) (struct no_os_timer_desc *)

timer remove function pointer

◆ start

int32_t(* no_os_timer_platform_ops::start) (struct no_os_timer_desc *)

timer start function pointer

◆ stop

int32_t(* no_os_timer_platform_ops::stop) (struct no_os_timer_desc *)

timer stop function pointer

The documentation for this struct was generated from the following file: