FreeHIL
Loading...
Searching...
No Matches
FH_GlobalTimerCount Directory Reference

Files

 
FH_GlobalTimerCount.c
 File Map:
FH_Root, Section FH_General, FH_GlobalTimerCount
There are a diverse range of different situations where a precise timing is a necessity
To have a general heart beat (1 mili-second) for all different parts of the code, a timer in the micro-controller on which FH source code is ported, shall be utilized
FH_GlobalTimeCounter here shall be incremented every 1 mili-second in an interested timer ISR (Interrupt Service Routine) by FH user
For this to happen, FH_GlobalTimerCount.h shall be included in the interested timer ISR (Interrupt Service Routine) file
 
FH_GlobalTimerCount.h
 File Map:
FH_Root, Section FH_General, FH_GlobalTimerCount
FH_GlobalTimeCounter here shall be incremented every 1 mili-second in an interested timer ISR (Interrupt Service Routine) by FH user
For this to happen, FH_GlobalTimerCount.h shall be included in the interested timer ISR (Interrupt Service Routine) file