Rev 35 |
Rev 48 |
Go to most recent revision |
Blame |
Compare with Previous |
Last modification |
View Log
| Download
| RSS feed
/*
* misc.h
*
* Created on: 21 Sep 2016
* Author: Mike
*
* $Log$
*/
#ifndef MISC_H_
#define MISC_H_
extern void _init(void);
#define RPM_SAMPLES 256 // sample times per 100mS or 1000mS when testing
#define RPM_COUNT_RATE 100000UL // Counter increments at 100KHz
extern volatile unsigned long RPM_Time[]; // sampled on both edges
extern volatile unsigned char RPM_Level[]; // level at time of sampling
extern volatile unsigned long RPM_Count; // incremented every reading
extern volatile char TimerFlag;
extern volatile char NoSerialInCTR; // Missing characters coming in on USART1
extern volatile char NoSerialIn;
extern void resetSerialTimeout(void);
#endif /* MISC_H_ */