ATmega8GPSLoggerBasismodul
20131018
|
Kommunikation zwischen AVR und Navilock GPS Modul. More...
#include "gps.h"
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... | |
Kommunikation zwischen AVR und Navilock GPS Modul.
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) ster @vpip pan. 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.
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().
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().
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().