Subversion Repositories FlightCtrl

Rev

Rev 1994 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1994 Rev 1995
Line 1... Line 1...
1
 
1
 
2
#define TIMER_TEILER        CK8
2
#define TIMER_TEILER        CK8
3
#define TIMER_RELOAD_VALUE  250
3
#define TIMER_RELOAD_VALUE  250
4
#define HEF4017R_ON     PORTC |=  (1<<PORTC6)
4
#define HEF4017R_ON     PORTC |=  (1<<PORTC6)
5
#define HEF4017R_OFF    PORTC &= ~(1<<PORTC6)
5
#define HEF4017R_OFF    PORTC &= ~(1<<PORTC6)
6
 
6
 
7
void Timer_Init(void);
7
void Timer_Init(void);
8
void TIMER2_Init(void);
8
void TIMER2_Init(void);
9
void Delay_ms(unsigned int);
9
void Delay_ms(unsigned int);
10
void Delay_ms_Mess(unsigned int);
10
void Delay_ms_Mess(unsigned int);
11
unsigned int SetDelay (unsigned int t);
11
unsigned int SetDelay (unsigned int t);
12
char CheckDelay (unsigned int t);
12
char CheckDelay (unsigned int t);
13
void CalculateServo(void);
13
void CalculateServo(void);
14
 
14
 
15
extern volatile unsigned int CountMilliseconds;
15
extern volatile unsigned int CountMilliseconds;
16
extern volatile unsigned char UpdateMotor;
16
extern volatile unsigned char UpdateMotor;
17
extern volatile unsigned int beeptime;
17
extern volatile unsigned int beeptime;
18
extern volatile unsigned int cntKompass;
18
extern volatile unsigned int cntKompass;
19
extern unsigned int BeepMuster;
19
extern unsigned int BeepMuster;
20
extern volatile unsigned char SendSPI, ServoActive, CalculateServoSignals;
20
extern volatile unsigned char SendSPI, ServoActive, CalculateServoSignals;
21
extern volatile int16_t ServoNickValue;
21
extern volatile int16_t ServoNickValue;
22
extern volatile int16_t ServoRollValue;
22
extern volatile int16_t ServoRollValue;