ATmega8GPSLoggerBasismodul  20131018
gps.h File Reference

Include File für gps.c. More...

#include <avr/io.h>
#include "uart.h"
#include <avr/interrupt.h>
#include <util/delay.h>
Include dependency graph for gps.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define GPS_BAUD   4800
 

Functions

void gps_init (void)
 Routine zur Initialisierung des GPS Moduls. More...
 
char gps_get_char (void)
 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

Include File für gps.c.

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

Definition in file gps.h.

Macro Definition Documentation

#define GPS_BAUD   4800

Definition at line 18 of file gps.h.

Referenced by gps_init().

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: