Rev 1612 | Rev 1887 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1612 | Rev 1821 | ||
---|---|---|---|
1 | #ifndef _TIMER0_H |
1 | #ifndef _TIMER0_H |
2 | #define _TIMER0_H |
2 | #define _TIMER0_H |
3 | 3 | ||
4 | #include <inttypes.h> |
4 | #include <inttypes.h> |
5 | 5 | ||
6 | extern volatile uint16_t CountMilliseconds; |
6 | extern volatile uint16_t CountMilliseconds; |
7 | extern volatile uint8_t runFlightControl; |
7 | extern volatile uint8_t runFlightControl; |
8 | extern volatile uint16_t cntKompass; |
8 | extern volatile uint16_t cntKompass; |
9 | extern volatile uint16_t BeepModulation; |
9 | extern volatile uint16_t BeepModulation; |
10 | extern volatile uint16_t BeepTime; |
10 | extern volatile uint16_t BeepTime; |
11 | #ifdef USE_NAVICTRL |
11 | #ifdef USE_NAVICTRL |
12 | extern volatile uint8_t SendSPI; |
12 | extern volatile uint8_t SendSPI; |
13 | #endif |
13 | #endif |
14 | 14 | ||
15 | extern void timer0_init(void); |
15 | extern void timer0_init(void); |
16 | extern void Delay_ms(uint16_t w); |
16 | extern void Delay_ms(uint16_t w); |
17 | extern void Delay_ms_Mess(uint16_t w); |
17 | extern void Delay_ms_Mess(uint16_t w); |
18 | extern uint16_t SetDelay (uint16_t t); |
18 | extern uint16_t SetDelay(uint16_t t); |
19 | extern int8_t CheckDelay (uint16_t t); |
19 | extern int8_t CheckDelay(uint16_t t); |
20 | 20 | ||
21 | #endif //_TIMER0_H |
21 | #endif //_TIMER0_H |
22 | 22 |