SYSTIMER
|
Detailed Description
- Date
- 2016-08-05 This file is generated by DAVE, User modification to this file will be overwritten at the next code generation.
Definition in file SYSTIMER.c.
#include "systimer.h"
Functions | |
void | SYSTIMER_Start (void) |
Starts the SysTick timer. More... | |
void | SYSTIMER_Stop (void) |
Stops the SysTick timer. More... | |
DAVE_APP_VERSION_t | SYSTIMER_GetAppVersion () |
Get SYSTIMER APP version. More... | |
SYSTIMER_STATUS_t | SYSTIMER_Init (SYSTIMER_t *handle) |
Initializes SYSTIMER APP. More... | |
uint32_t | SYSTIMER_CreateTimer (uint32_t period, SYSTIMER_MODE_t mode, SYSTIMER_CALLBACK_t callback, void *args) |
Creates a new software timer. This function cannot be called from an ISR. Use SYSTIMER_CreateTimerFromISR() instead. More... | |
uint32_t | SYSTIMER_CreateTimerFromISR (uint32_t period, SYSTIMER_MODE_t mode, SYSTIMER_CALLBACK_t callback, void *args) |
A version of SYSTIMER_CreateTimer() that can be called from an ISR. More... | |
SYSTIMER_STATUS_t | SYSTIMER_StartTimer (uint32_t id) |
Starts the software timer. This function cannot be called from an ISR. Use SYSTIMER_StartTimerFromISR() instead. More... | |
SYSTIMER_STATUS_t | SYSTIMER_StartTimerFromISR (uint32_t id) |
A version of SYSTIMER_StartTimer() that can be called from an ISR. More... | |
SYSTIMER_STATUS_t | SYSTIMER_StopTimer (uint32_t id) |
Stops the software timer. This function cannot be called from an ISR. Use SYSTIMER_StopTimerFromISR() instead. More... | |
SYSTIMER_STATUS_t | SYSTIMER_StopTimerFromISR (uint32_t id) |
A version of SYSTIMER_StopTimer() that can be called from an ISR. More... | |
SYSTIMER_STATUS_t | SYSTIMER_RestartTimer (uint32_t id, uint32_t microsec) |
Function to modify the time interval and restart the timer for the new time interval. This function cannot be called from an ISR. Use SYSTIMER_RestartTimerFromISR() instead. More... | |
SYSTIMER_STATUS_t | SYSTIMER_RestartTimerFromISR (uint32_t id, uint32_t microsec) |
A version of SYSTIMER_RestartTimer() that can be called from an ISR. More... | |
SYSTIMER_STATUS_t | SYSTIMER_DeleteTimer (uint32_t id) |
Deletes the software timer from the timer list. This function cannot be called from an ISR. Use SYSTIMER_DeleteTimerFromISR() instead. More... | |
SYSTIMER_STATUS_t | SYSTIMER_DeleteTimerFromISR (uint32_t id) |
A version of SYSTIMER_DeleteTimer() that can be called from an ISR. More... | |
uint32_t | SYSTIMER_GetTime (void) |
Gives the current hardware SysTick time in microsecond since start of hardware SysTick timer. More... | |
uint32_t | SYSTIMER_GetTickCount (void) |
Gives the SysTick count. More... | |
SYSTIMER_STATE_t | SYSTIMER_GetTimerState (uint32_t id) |
Gives the current state of software timer. More... | |
Variables | |
SYSTIMER_OBJECT_t | g_timer_tbl [SYSTIMER_CFG_MAX_TMR] |
Function Documentation
void SYSTIMER_Start | ( | void | ) |
Starts the SysTick timer.
- Parameters
-
None.
- Description:
- Starts the SysTick timer.
Definition at line 162 of file SYSTIMER.c.
void SYSTIMER_Stop | ( | void | ) |
Stops the SysTick timer.
- Parameters
-
None.
- Description:
- Stops the SysTick timer therefore no software timer will time out.
Definition at line 167 of file SYSTIMER.c.
Variable Documentation
SYSTIMER_OBJECT_t g_timer_tbl[SYSTIMER_CFG_MAX_TMR] |
Table which save timer control block.
Definition at line 110 of file SYSTIMER.c.
Referenced by SYSTIMER_CreateTimer(), SYSTIMER_DeleteTimer(), SYSTIMER_GetTimerState(), SYSTIMER_RestartTimer(), SYSTIMER_StartTimer(), and SYSTIMER_StopTimer().