#include <inttypes.h>
#include <avr/io.h>
#include <avr/interrupt.h>
#include "util.h"
Functions | |
int | timer2Start (char chrUnit) |
This function will start an 8-bit Timer2 primarily to be used for a delay function. | |
int | timer2Stop () |
This function will stop the 8-bit Timer2 Date: 2/28/2009. | |
int | waitMilliSec (unsigned int uintTimeVal) |
This function will be used as Millisecond delay function. | |
Variables | |
volatile unsigned int | g_uintTimer2Tick |
Globals used for interrupt driven delay functions. |
Date: 2/28/2009
int timer2Start | ( | char | chrUnit | ) |
This function will start an 8-bit Timer2 primarily to be used for a delay function.
chrUnit | This will decide the speed of the timer and it can only be 0 for slow or 1 for fast. Date: 2/28/2009 |
int waitMilliSec | ( | unsigned int | uintTimeVal | ) |
This function will be used as Millisecond delay function.
uintTimeVal | Delay time Date: 2/28/2009 |