Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
51 | osiair | 1 | //------------------------------------------------------------------------------ |
2 | // _ _ |
||
3 | // | | | | |
||
4 | // ___ _ __ ___ ___ _ _ ___| |_ ___ ___| |__ |
||
5 | // / _ \ '_ ` _ \/ __| | | / __| __/ _ \/ __| '_ \. |
||
6 | // | __/ | | | | \__ \ |_| \__ \ || __/ (__| | | | |
||
7 | // \___|_| |_| |_|___/\__, |___/\__\___|\___|_| |_| |
||
8 | // __/ | |
||
9 | // |___/ Engineering |
||
10 | // |
||
11 | // Filename: gps.h |
||
12 | // Description: |
||
13 | // |
||
14 | // Author: Martin Steppuhn |
||
15 | // History: 15.06.2007 Initial version |
||
16 | // |
||
17 | //------------------------------------------------------------------------------ |
||
18 | |||
19 | #ifndef GPS_H |
||
20 | #define GPS_H |
||
21 | |||
22 | /**** Includes ****************************************************************/ |
||
23 | |||
24 | /**** Preprocessing directives (#define) **************************************/ |
||
25 | |||
26 | #define LED_GPS_FIX_TOGGLE PORTC ^= (1<<2) |
||
27 | #define LED_GPS_FIX_ON PORTC |= (1<<2) |
||
28 | #define LED_GPS_FIX_OFF PORTC &= ~(1<<2) |
||
29 | |||
30 | #define LED_GPS_DATA_TOGGLE PORTC ^= (1<<3) |
||
31 | #define LED_GPS_DATA_ON PORTC |= (1<<3) |
||
32 | #define LED_GPS_DATA_OFF PORTC &= ~(1<<3) |
||
33 | |||
34 | /**** Type definitions (typedef) **********************************************/ |
||
35 | |||
36 | /**** Global constants (extern) ***********************************************/ |
||
37 | |||
38 | /**** Global variables (extern) ***********************************************/ |
||
39 | |||
40 | extern signed int GPS_Nick; |
||
41 | extern signed int GPS_Roll; |
||
42 | extern void GPS_Neutral(void); |
||
43 | extern void GPS_Main(void); |
||
44 | |||
45 | /**** Global function prototypes **********************************************/ |
||
46 | |||
47 | #endif |
||
48 | |||
49 | |||
50 | |||
51 | |||
52 | |||
53 | |||
54 | |||
55 | |||
56 | |||
57 | |||
58 | |||
59 | |||
60 | |||
61 | |||
62 | |||
63 | |||
64 | |||
65 | |||
66 | |||
67 | |||
68 | |||
69 | |||
70 | |||
71 | |||
72 | |||
73 |