Microchip® Advanced Software Framework

long_timer.h File Reference

Timer that can elapse duration greater than SW_TIMER_MAX_TIMEOUT.

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

#include <asf.h>

Macros

#define LONG_TIMER_LAP_DURATION_US   (MS_TO_US( 600000 )) /* 10 mins */
 

Functions

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

#define LONG_TIMER_LAP_DURATION_US   (MS_TO_US( 600000 )) /* 10 mins */

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