GPS
Main Page
Data Structures
Files
File List
Globals
software
main.h
Go to the documentation of this file.
1
9
#ifndef MAIN_H
10
#define MAIN_H
11
13
#define M_MENU 0
14
15
#define M_COMPASS 1
16
17
#define M_NAVIG 2
18
19
#define M_RECORD 3
20
21
#define M_SHUTDOWN 4
22
24
#define COMM_GPS 0
25
26
#define COMM_USB 1
27
29
#define YES 1
30
31
#define NO 0
32
36
extern
unsigned
int
modeSelected
;
37
41
void
configureClock
(
void
);
42
49
void
toggleCommunication
(
unsigned
int
state);
50
56
void
delay
(
float
x);
57
58
#endif
toggleCommunication
void toggleCommunication(unsigned int state)
Toogle the communication (P4.2, CMD_SWITCH)
Definition:
main.c:160
modeSelected
unsigned int modeSelected
Definition:
main.c:19
configureClock
void configureClock(void)
Configure the external clock.
Definition:
main.c:166
delay
void delay(float x)
Wait for x sec.
Definition:
main.c:183
Generated by
1.8.11