SYSTIMER: SYSTIMER.h File Reference

Arduino SYSTIMER

SYSTIMER.h File Reference

Detailed Description

Date:
2015-08-10

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.
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.
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.

Go to the source code of this file.