Rev 3 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3 | Rev 9 | ||
---|---|---|---|
Line 9... | Line 9... | ||
9 | #define MISC_H_ |
9 | #define MISC_H_ |
10 | 10 | ||
11 | extern void _init(void); |
11 | extern void _init(void); |
12 | 12 | ||
13 | 13 | ||
- | 14 | #define RPM_SAMPLES 256 // sample times per 100mS or 1000mS when testing |
|
- | 15 | #define RPM_COUNT_RATE 100000UL // Counter increments at 100KHz |
|
- | 16 | ||
- | 17 | extern volatile unsigned long RPM_Time[]; // sampled on falling edge |
|
- | 18 | extern volatile unsigned long RPM_Count; // incremented every reading |
|
- | 19 | extern volatile char TimerFlag; |
|
- | 20 | ||
- | 21 | extern volatile char NoSerialInCTR; // Missing characters coming in on USART1 |
|
- | 22 | extern volatile char NoSerialIn; |
|
14 | 23 | ||
15 | #endif /* MISC_H_ */ |
24 | #endif /* MISC_H_ */ |