|
ATmega8GPSLoggerBasismodul
20131018
|
Hauptfile des Projekts ATmega8 GPS Logger. More...

Go to the source code of this file.
Macros | |
| #define | F_CPU 16000000L |
| #define | LED_PORT PORTD |
| #define | LED_STAT PD6 |
| #define | LED_WARN PD7 |
| #define | LEDCODE_OFF LED_PORT &= ~((1 << LED_WARN) | (1 << LED_STAT)) |
| #define | LEDCODE_OK LED_PORT = (LED_PORT & ~(1 << LED_WARN)) | (1 << LED_STAT) |
| #define | LEDCODE_WARNING LED_PORT = (LED_PORT & ~(1 << LED_STAT)) | (1 << LED_WARN) |
| #define | LEDCODE_PROCESSING LED_PORT |= (1 << LED_WARN) | (1 << LED_STAT) |
| #define | LEDCODE_BLINK LED_PORT ^= (1 << LED_STAT) |
Functions | |
| int | main (void) |
| Hauptfunktion. More... | |
Variables | |
| struct { | |
| unsigned record:1 | |
| unsigned keydown:1 | |
| } | status |
Hauptfile des Projekts ATmega8 GPS Logger.
Copyright (c) 2008 Martin Matysiak
Copyright 2008-2013 V. Pippan (webmaster@vpippan.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 atmega8_gps_logger_basismodul.c.
| #define F_CPU 16000000L |
Definition at line 51 of file atmega8_gps_logger_basismodul.c.
Referenced by gps_init().
| #define LED_PORT PORTD |
Definition at line 53 of file atmega8_gps_logger_basismodul.c.
| #define LED_STAT PD6 |
Definition at line 54 of file atmega8_gps_logger_basismodul.c.
| #define LED_WARN PD7 |
Definition at line 55 of file atmega8_gps_logger_basismodul.c.
Definition at line 61 of file atmega8_gps_logger_basismodul.c.
Referenced by main().
Definition at line 57 of file atmega8_gps_logger_basismodul.c.
Referenced by main().
Definition at line 58 of file atmega8_gps_logger_basismodul.c.
Referenced by main().
Definition at line 60 of file atmega8_gps_logger_basismodul.c.
Referenced by main().
Definition at line 59 of file atmega8_gps_logger_basismodul.c.
Referenced by main().
| int main | ( | void | ) |
Hauptfunktion.
Die Hauptfunktion enthält die Initialisierungen beim Programmstart und die Hauptschleife des Programms.
< definiert ein character feld für nmea daten mit 128 zeichen länge
Hauptschleife
Definition at line 74 of file atmega8_gps_logger_basismodul.c.
References fclose_(), fopen_(), fputs_(), gps_get_nmea(), gps_init(), InitFat16(), LEDCODE_BLINK, LEDCODE_OFF, LEDCODE_OK, LEDCODE_PROCESSING, LEDCODE_WARNING, mmc_init(), and status.

| unsigned keydown |
Definition at line 66 of file atmega8_gps_logger_basismodul.c.
| unsigned record |
Definition at line 65 of file atmega8_gps_logger_basismodul.c.
| struct { ... } status |
Referenced by main().