Timer Parameters. More...
#include <Timer.h>
Data Fields | |
Timer_Mode | timerMode |
Timer_PeriodUnits | periodUnits |
Timer_CallBackFxn | timerCallback |
uint32_t | period |
Timer Parameters.
Timer parameters are used to with the Timer_open() call. Default values for these parameters are set using Timer_Params_init().
Timer_Mode Timer_Params::timerMode |
Mode to be used by the timer driver.
Timer_PeriodUnits Timer_Params::periodUnits |
Units used to specify the period.
Timer_CallBackFxn Timer_Params::timerCallback |
Callback function called when timerMode is Timer_ONESHOT_CALLBACK or Timer_CONTINUOUS_CALLBACK.
uint32_t Timer_Params::period |
Period in units of periodUnits.