ReflexBall Rally
 All Data Structures Files Functions Variables Macros
Macros | Functions
time.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define PRE1   (0 << 3);
 
#define PRE2   (1 << 3);
 
#define PRE4   (2 << 3);
 
#define PRE8   (3 << 3);
 
#define PRE16   (4 << 3);
 
#define PRE32   (5 << 3);
 
#define PRE64   (6 << 3);
 
#define PRE128   (7 << 3);
 
#define PRIORITY_TIMER0   (1 << 5)
 
#define PRIORITY_TIMER1   (1 << 6)
 
#define PRIORITY_TIMER2   (1 << 7)
 

Functions

void initTimers ()
 
unsigned long millis ()
 
void delay_ms (unsigned long time)
 
void timer1int ()
 

Macro Definition Documentation

#define PRE1   (0 << 3);

Definition at line 4 of file time.h.

#define PRE2   (1 << 3);

Definition at line 5 of file time.h.

#define PRE4   (2 << 3);

Definition at line 6 of file time.h.

#define PRE8   (3 << 3);

Definition at line 7 of file time.h.

#define PRE16   (4 << 3);

Definition at line 8 of file time.h.

#define PRE32   (5 << 3);

Definition at line 9 of file time.h.

#define PRE64   (6 << 3);

Definition at line 10 of file time.h.

#define PRE128   (7 << 3);

Definition at line 11 of file time.h.

#define PRIORITY_TIMER0   (1 << 5)

Definition at line 13 of file time.h.

#define PRIORITY_TIMER1   (1 << 6)

Definition at line 14 of file time.h.

#define PRIORITY_TIMER2   (1 << 7)

Definition at line 15 of file time.h.

Function Documentation

void initTimers ( )

Definition at line 8 of file time.c.

unsigned long millis ( )

Definition at line 35 of file time.c.

void delay_ms ( unsigned long  time)

Definition at line 39 of file time.c.

void timer1int ( )

Definition at line 45 of file time.c.