File containing the main functions. More...
#include <__cross_studio_io.h>
#include <msp430x16x.h>
#include "main.h"
#include "led.h"
#include "pad.h"
#include "gps.h"
#include "parser_nmea.h"
#include "oled.h"
Include dependency graph for main.c:

Functions | |
void | main (void) |
void | toggleCommunication (unsigned int state) |
Toogle the communication (P4.2, CMD_SWITCH) More... | |
void | configureClock (void) |
Configure the external clock. | |
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 main | ( | void | ) |
Menu entry point
Compass entry point
Navigation entry point
Record entry point
Shutdown entry point
Here is the call 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.