ATmega8GPSLoggerBasismodul  20131018
gps.c File Reference

Kommunikation zwischen AVR und Navilock GPS Modul. More...

#include "gps.h"
Include dependency graph for gps.c:

Go to the source code of this file.

Functions

void gps_init ()
 Routine zur Initialisierung des GPS Moduls. More...
 
char gps_get_char ()
 Gibt sobald verfügbar ein Zeichen vom UART zurück. More...
 
void gps_get_nmea (char *buf, uint8_t bufSize)
 Empfängt einen vollständige NMEA-Befehl und gibt diesen dann zurück. More...
 

Detailed Description

Kommunikation zwischen AVR und Navilock GPS Modul.

Author
Martin Matysiak (mail@.nosp@m.k621.nosp@m..de)
V. Pippan (webma.nosp@m.ster.nosp@m.@vpip.nosp@m.pan..nosp@m.at)
Date
2013-10-18
Version
20131018

Bei Fragen und Verbesserungen wendet euch per EMail an mich.

Datenblätter zum Umgang mit Navilock GPS Modulen:

Datenblatt Navilock U-Blox
NMEA Reference Manual

Copyright (c) 2008 Martin Matysiak
Copyright 2008-2013 V. Pippan (webma.nosp@m.ster.nosp@m.@vpip.nosp@m.pan..nosp@m.at)

This file is part of ATmega8 GPS Logger.

ATmega8 GPS Logger is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or any later version.

ATmega8 GPS Logger is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with ATtiny2313 Cessna Lichtsteuerung. If not, see
www.gnu.org/licenses.

Definition in file gps.c.

Function Documentation

char gps_get_char ( void  )

Gibt sobald verfügbar ein Zeichen vom UART zurück.

Definition at line 53 of file gps.c.

References UART_BUFFER_OVERFLOW, uart_getc(), and UART_NO_DATA.

Referenced by gps_get_nmea().

Here is the call graph for this function:

Here is the caller graph for this function:

void gps_get_nmea ( char *  buf,
uint8_t  bufSize 
)

Empfängt einen vollständige NMEA-Befehl und gibt diesen dann zurück.

Definition at line 69 of file gps.c.

References gps_get_char().

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

void gps_init ( void  )

Routine zur Initialisierung des GPS Moduls.

Definition at line 41 of file gps.c.

References F_CPU, GPS_BAUD, UART_BAUD_SELECT, and uart_init().

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function: