![]() |
![]() |
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. Units used to specify the period.
| Timer_PeriodUnits Timer_Params_::periodUnits |
Callback function called when timerMode is Timer_ONESHOT_CALLBACK or Timer_CONTINUOUS_CALLBACK.
| Timer_CallBackFxn Timer_Params_::timerCallback |
Period in units of periodUnits.
| uint32_t Timer_Params_::period |