|
VSF Documented
|
Initial configuration for gptimer_new_timer(). More...
#include <gptimer.h>
Data Fields | ||
| gptimer_clock_source_t | clk_src | |
| gptimer_count_direction_t | direction | |
| uint32_t | resolution_hz | |
| int | intr_priority | |
| struct { | ||
| uint32_t intr_shared: 1 | ||
| uint32_t backup_before_sleep: 1 | ||
| } | flags | |
Initial configuration for gptimer_new_timer().
Only the fields the shim actually consumes are described below; the remaining flags are parsed for source compatibility.
| gptimer_clock_source_t gptimer_config_t::clk_src |
accepted but ignored
| gptimer_count_direction_t gptimer_config_t::direction |
must be GPTIMER_COUNT_UP
| uint32_t gptimer_config_t::resolution_hz |
wired to cfg.freq
| int gptimer_config_t::intr_priority |
0 = default
| uint32_t gptimer_config_t::intr_shared |
accepted, no-op
| uint32_t gptimer_config_t::backup_before_sleep |
accepted, no-op
| struct { ... } gptimer_config_t::flags |