Rev 13 | Rev 17 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 6 | mjames | 1 | /* |
| 2 | * timer2.h |
||
| 3 | * |
||
| 4 | * Created on: 2 Apr 2018 |
||
| 5 | * Author: Mike |
||
| 6 | */ |
||
| 7 | |||
| 8 | #ifndef INC_TIMER2_H_ |
||
| 9 | #define INC_TIMER2_H_ |
||
| 10 | |||
| 13 | mjames | 11 | |
| 12 | extern uint16_t displayVal; |
||
| 13 | |||
| 6 | mjames | 14 | extern void initTimer2(void); |
| 15 | |||
| 16 | extern uint16_t setRPM(uint16_t RPM); |
||
| 17 | |||
| 18 | extern uint16_t getRPM(void); |
||
| 19 | |||
| 13 | mjames | 20 | extern unsigned getCount(void); |
| 21 | |||
| 22 | extern unsigned getDelta(void); |
||
| 23 | |||
| 14 | mjames | 24 | extern uint8_t slowPulse(); |
| 13 | mjames | 25 | |
| 6 | mjames | 26 | extern void setAdvance(int16_t advance); |
| 27 | |||
| 28 | |||
| 13 | mjames | 29 | extern uint16_t getNextRefPulseIndex(void); |
| 6 | mjames | 30 | |
| 13 | mjames | 31 | extern void processPulse(uint16_t pulseIndex); |
| 6 | mjames | 32 | |
| 11 | mjames | 33 | |
| 6 | mjames | 34 | #endif /* INC_TIMER2_H_ */ |