Subversion Repositories FlightCtrl

Rev

Rev 683 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 683 Rev 685
1
#ifndef _TIMER0_H
1
#ifndef _TIMER0_H
2
#define _TIMER0_H
2
#define _TIMER0_H
-
 
3
 
3
 
4
#include <inttypes.h>
4
 
5
 
5
extern volatile uint16_t CountMilliseconds;
6
extern volatile uint16_t CountMilliseconds;
6
extern volatile uint8_t UpdateMotor;
7
extern volatile uint8_t UpdateMotor;
7
extern volatile uint16_t cntKompass;
8
extern volatile uint16_t cntKompass;
8
extern uint16_t BeepModulation;
9
extern volatile uint16_t BeepModulation;
9
extern volatile uint16_t BeepTime;
10
extern volatile uint16_t BeepTime;
10
 
11
 
11
 
12
 
12
void TIMER0_Init(void);
13
extern void TIMER0_Init(void);
13
void Delay_ms(uint16_t w);
14
extern void Delay_ms(uint16_t w);
14
void Delay_ms_Mess(uint16_t w);
15
extern void Delay_ms_Mess(uint16_t w);
15
uint16_t SetDelay (uint16_t t);
16
extern uint16_t SetDelay (uint16_t t);
16
int8_t CheckDelay (uint16_t t);
-
 
17
 
17
extern int8_t CheckDelay (uint16_t t);
18
 
18
 
19
#endif //_TIMER0_H
19
#endif //_TIMER0_H
20
 
20