File containing the main functions. More...
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Macros | |
#define | M_MENU 0 |
Mode menu. | |
#define | M_COMPASS 1 |
Mode compass. | |
#define | M_NAVIG 2 |
Mode navigation. | |
#define | M_RECORD 3 |
Mode record. | |
#define | M_SHUTDOWN 4 |
Mode shutdown. | |
#define | COMM_GPS 0 |
Communication with GPS module. | |
#define | COMM_USB 1 |
Communication with USB. | |
#define | YES 1 |
YES. | |
#define | NO 0 |
NO. | |
Functions | |
void | configureClock (void) |
Configure the external clock. | |
void | toggleCommunication (unsigned int state) |
Toogle the communication (P4.2, CMD_SWITCH) More... | |
void | delay (float x) |
Wait for x sec. More... | |
Variables | |
unsigned int | modeSelected |
Detailed Description
File containing the main functions.
Function Documentation
void delay | ( | float | x | ) |
Wait for x sec.
- Parameters
-
x The time to wait (in sec ~)
Here is the caller graph for this function:

void toggleCommunication | ( | unsigned int | state | ) |
Toogle the communication (P4.2, CMD_SWITCH)
1 = USB, 0 = GPS
- Parameters
-
state The new state
Here is the caller graph for this function:

Variable Documentation
unsigned int modeSelected |
Mode selected by the user,
- See also
- M_MENU, etc.