Subversion Repositories FlightCtrl

Rev

Go to most recent revision | Blame | Last modification | View Log | RSS feed

//------------------------------------------------------------------------------
//                                  _            _    
//                                 | |          | |    
//      ___ _ __ ___  ___ _   _ ___| |_ ___  ___| |__  
//     / _ \ '_ ` _ \/ __| | | / __| __/ _ \/ __| '_ \.
//    |  __/ | | | | \__ \ |_| \__ \ ||  __/ (__| | | |
//     \___|_| |_| |_|___/\__, |___/\__\___|\___|_| |_|
//                         __/ |                      
//                        |___/    Engineering
//
// Filename:    gps.h
// Description:
//              
// Author:      Martin Steppuhn
// History:     15.06.2007 Initial version
//              
//------------------------------------------------------------------------------

#ifndef GPS_H
#define GPS_H

/**** Includes ****************************************************************/

/**** Preprocessing directives (#define) **************************************/

#define LED_GPS_FIX_TOGGLE      PORTC ^= (1<<2)
#define LED_GPS_FIX_ON          PORTC |= (1<<2)
#define LED_GPS_FIX_OFF         PORTC &= ~(1<<2)

#define LED_GPS_DATA_TOGGLE     PORTC ^= (1<<3)
#define LED_GPS_DATA_ON         PORTC |= (1<<3)
#define LED_GPS_DATA_OFF        PORTC &= ~(1<<3)

/**** Type definitions (typedef) **********************************************/

/**** Global constants (extern) ***********************************************/

/**** Global variables (extern) ***********************************************/

extern signed int GPS_Nick;
extern signed int GPS_Roll;
extern void GPS_Neutral(void);
extern void GPS_Main(void);

/**** Global function prototypes **********************************************/

#endif