|
SYSTIMER
|
SYSTIMER.c File Reference
Detailed Description
- Date:
- 2015-10-08 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 | |
| DAVE_APP_VERSION_t | SYSTIMER_GetAppVersion () |
| Get SYSTIMER APP version. | |
| SYSTIMER_STATUS_t | SYSTIMER_Init (SYSTIMER_t *handle) |
| Initializes SYSTIMER APP. | |
| uint32_t | SYSTIMER_CreateTimer (uint32_t period, SYSTIMER_MODE_t mode, SYSTIMER_CALLBACK_t callback, void *args) |
| Creates a new software timer. | |
| SYSTIMER_STATUS_t | SYSTIMER_StartTimer (uint32_t id) |
| Starts the software timer. | |
| SYSTIMER_STATUS_t | SYSTIMER_StopTimer (uint32_t id) |
| Stops the software timer. | |
| 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. | |
| SYSTIMER_STATUS_t | SYSTIMER_DeleteTimer (uint32_t id) |
| Deletes the software timer from the timer list. | |
| uint32_t | SYSTIMER_GetTime (void) |
| Gives the current hardware SysTick time in microsecond since start of hardware SysTick timer. | |
| uint32_t | SYSTIMER_GetTickCount (void) |
| Gives the SysTick count. | |
| SYSTIMER_STATE_t | SYSTIMER_GetTimerState (uint32_t id) |
| Gives the current state of software timer. | |
Variables | |
| SYSTIMER_OBJECT_t | g_timer_tbl [SYSTIMER_CFG_MAX_TMR] |
Variable Documentation
| SYSTIMER_OBJECT_t g_timer_tbl[SYSTIMER_CFG_MAX_TMR] |
Table which save timer control block.
Definition at line 104 of file SYSTIMER.c.
Referenced by SYSTIMER_CreateTimer(), SYSTIMER_DeleteTimer(), SYSTIMER_GetTimerState(), SYSTIMER_RestartTimer(), SYSTIMER_StartTimer(), and SYSTIMER_StopTimer().