Microchip® Advanced Software Framework

sysTimer.c File Reference

System timer implementation.

Copyright (c) 2014-2018 Microchip Technology Inc. and its subsidiaries.

#include <stdlib.h>
#include "compiler.h"
#include "common_hw_timer.h"
#include "sysTimer.h"

Functions

static void placeTimer (SYS_Timer_t *timer)
 
void SYS_HwExpiry_Cb (void)
 
void SYS_TimerInit (void)
 
void SYS_TimerStart (SYS_Timer_t *timer)
 
bool SYS_TimerStarted (SYS_Timer_t *timer)
 
void SYS_TimerStop (SYS_Timer_t *timer)
 
void SYS_TimerTaskHandler (void)
 

Variables

volatile uint8_t SysTimerIrqCount
 
static SYS_Timer_ttimers
 

static void placeTimer ( SYS_Timer_t timer)
static

volatile uint8_t SysTimerIrqCount
SYS_Timer_t* timers
static

Referenced by placeTimer(), and SYS_TimerTaskHandler().