Intel® Quark™ Microcontroller Software Interface
1.4.0
Intel® Quark™ Microcontroller BSP
|
Sensor Subsystem Timer Configuration Type. More...
#include <qm_ss_timer.h>
Data Fields | |
bool | watchdog_mode |
Watchdog mode. More... | |
bool | inc_run_only |
Increments in run state only. More... | |
bool | int_en |
Interrupt enable. More... | |
uint32_t | count |
Final count value. More... | |
void(* | callback )(void *data) |
User callback. More... | |
void * | callback_data |
Callback user data. More... | |
Sensor Subsystem Timer Configuration Type.
Definition at line 21 of file qm_ss_timer.h.
void(* qm_ss_timer_config_t::callback)(void *data) |
User callback.
Called for any interrupt on the Sensor Subsystem Timer.
[in] | data | The callback user data. |
Definition at line 43 of file qm_ss_timer.h.
Referenced by qm_ss_timer_set_config().
void* qm_ss_timer_config_t::callback_data |
Callback user data.
Definition at line 44 of file qm_ss_timer.h.
Referenced by qm_ss_timer_set_config().
uint32_t qm_ss_timer_config_t::count |
Final count value.
Definition at line 34 of file qm_ss_timer.h.
Referenced by qm_ss_timer_set_config().
bool qm_ss_timer_config_t::inc_run_only |
Increments in run state only.
If this field is set to 0, the timer will count in both halt state and running state. When set to 1, this will only increment in running state.
Definition at line 32 of file qm_ss_timer.h.
Referenced by qm_ss_timer_set_config().
bool qm_ss_timer_config_t::int_en |
Interrupt enable.
Definition at line 33 of file qm_ss_timer.h.
Referenced by qm_ss_timer_set_config().
bool qm_ss_timer_config_t::watchdog_mode |