Statistics
| Branch: | Revision:

root / toolbox / time.h @ 94548bf4

History | View | Annotate | Download (258 Bytes)

1
#ifndef TIME_H
2
#define TIME_H
3

    
4
#define TICK_MS 50
5
#define RFID_PERIOD 300
6

    
7
#define PRESCALE 64
8
#define CLOCK_SEL 3
9

    
10
/* Initializes timer 0 */
11
void time_init();
12

    
13
/* Waits until TICK_MS have passed since the previous call returned */
14
void time_wait();
15

    
16
#endif