Rev 29 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed
| Rev 29 | Rev 30 | ||
|---|---|---|---|
| Line 11... | Line 11... | ||
| 11 | * |
11 | * |
| 12 | *****************************************************************************/ |
12 | *****************************************************************************/ |
| 13 | 13 | ||
| 14 | #include <inttypes.h> |
14 | #include <inttypes.h> |
| 15 | #include <avr/io.h> |
15 | #include <avr/io.h> |
| 16 | #include <avr/signal.h> |
- | |
| 17 | #include <avr/interrupt.h> |
16 | #include <avr/interrupt.h> |
| 18 | 17 | ||
| 19 | #include "timebase.h" |
18 | #include "timebase.h" |
| 20 | 19 | ||
| 21 |
|
20 | ISR(SIG_OVERFLOW0) |
| 22 | { |
21 | { |
| 23 | gMilliSecTick++; |
22 | gMilliSecTick++; |
| 24 | TCNT0 = TIMEBASE_RELOAD; |
23 | TCNT0 = TIMEBASE_RELOAD; |
| 25 | } |
24 | } |
| 26 | 25 | ||