|
NNP STM Generic Remote Module git-main
|
Go to the source code of this file.
Functions | |
| void | setTimer (TIMEVAL value) |
| Set the timer peripheral for the next interrupt. | |
| void | initTimer (void) |
| UNS8 | isTimedOut (UNS32 *tRef, UNS32 tAlarm) |
| Checks if a timer has timed out. | |
| void | resetTimeOut (UNS32 *tRef) |
| Resets a timed out timer. | |
| TIMEVAL | getElapsedTime (void) |
| Return the elapsed time to tell the Stack how much time is spent since last call. | |
| void | HAL_TIM_PeriodElapsedCallback (TIM_HandleTypeDef *htim) |
Definition in file timer_stm.c.
| TIMEVAL getElapsedTime | ( | void | ) |
Return the elapsed time to tell the Stack how much time is spent since last call.
Definition at line 65 of file timer_stm.c.
Referenced by SetAlarm(), and TimeDispatch().

| void HAL_TIM_PeriodElapsedCallback | ( | TIM_HandleTypeDef * | htim | ) |
Definition at line 77 of file timer_stm.c.
| void initTimer | ( | void | ) |
Definition at line 33 of file timer_stm.c.
Checks if a timer has timed out.
Definition at line 41 of file timer_stm.c.
Referenced by runAppTask(), updateAccelerometer(), updateDiagnostics(), and updateTemperature().

| void resetTimeOut | ( | UNS32 * | tRef | ) |
Resets a timed out timer.
Definition at line 56 of file timer_stm.c.
Referenced by runAppTask(), updateAccelerometer(), updateDiagnostics(), and updateTemperature().

| void setTimer | ( | TIMEVAL | value | ) |
Set the timer peripheral for the next interrupt.
Definition at line 23 of file timer_stm.c.
Referenced by SetAlarm(), and TimeDispatch().
