SYSTIMER
|
SYSTIMER.h File Reference
Detailed Description
- Date
- 2016-12-12
NOTE: This file is generated by DAVE. Any manual modification done to this file will be lost when the code is regenerated.
Definition in file SYSTIMER.h.
#include "xmc_common.h"
#include <DAVE_Common.h>
#include "systimer_conf.h"
#include "systimer_extern.h"
Data Structures | |
struct | SYSTIMER |
This structure contains pointer which is used to hold CPU instance handle and variables for priority group. More... | |
Typedefs | |
typedef void(* | SYSTIMER_CALLBACK_t )(void *args) |
timer callback function pointer | |
typedef struct SYSTIMER | SYSTIMER_t |
This structure contains pointer which is used to hold CPU instance handle and variables for priority group. | |
Functions | |
DAVE_APP_VERSION_t | SYSTIMER_GetAppVersion (void) |
Get SYSTIMER APP version. More... | |
SYSTIMER_STATUS_t | SYSTIMER_Init (SYSTIMER_t *handle) |
Initializes SYSTIMER APP. More... | |
void | SYSTIMER_Start (void) |
Starts the SysTick timer. More... | |
void | SYSTIMER_Stop (void) |
Stops the SysTick timer. 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... | |
enum | SYSTIMER_STATUS { SYSTIMER_STATUS_SUCCESS = 0U, SYSTIMER_STATUS_FAILURE } |
This enumeration indicates status of SYSTIMER. More... | |
enum | SYSTIMER_STATE { SYSTIMER_STATE_NOT_INITIALIZED = 0U, SYSTIMER_STATE_RUNNING, SYSTIMER_STATE_STOPPED } |
This enumeration defines possible timer state. More... | |
enum | SYSTIMER_MODE { SYSTIMER_MODE_ONE_SHOT = 0U, SYSTIMER_MODE_PERIODIC } |
Enumeration values which describes timer types. More... | |
typedef enum SYSTIMER_STATUS | SYSTIMER_STATUS_t |
This enumeration indicates status of SYSTIMER. | |
typedef enum SYSTIMER_STATE | SYSTIMER_STATE_t |
This enumeration defines possible timer state. | |
typedef enum SYSTIMER_MODE | SYSTIMER_MODE_t |
Enumeration values which describes timer types. | |