Microchip® Advanced Software Framework

long_timer.c File Reference

Timer implementation that can elapse duration greater than SW_TIMER_MAX_TIMEOUT.

Copyright (c) 2020 Microchip Technology Inc. and its subsidiaries.

#include "long_timer.h"
#include "sw_timer.h"
#include "log.h"

Typedefs

typedef void(* LongTimerCallback_t )(void)
 

Functions

static void LongTimerCallback (void)
 
void LongTimerInit (void)
 
void LongTimerReset (void)
 
void LongTimerStart (uint64_t intervalMicros, void(*cb)(void))
 

Variables

static LongTimerCallback_t longTimerCb
 
static uint64_t longTimerRemInterval
 
static uint8_t pkgCommonLongTimerId = SWTIMER_INVALID
 

typedef void(* LongTimerCallback_t)(void)

static void LongTimerCallback ( void  )
static
void LongTimerInit ( void  )
void LongTimerStart ( uint64_t  intervalMicros,
void(*)(void)  cb 
)

uint64_t longTimerRemInterval
static
uint8_t pkgCommonLongTimerId = SWTIMER_INVALID
static