#include <avr/io.h>
#include <avr/signal.h>
#include <avr/interrupt.h>
#include <avr/pgmspace.h>
#include <inttypes.h>
#include "main/keys.h"
#include "main/lcd.h"
#include "main/rom.h"
#include "net/link.h"
#include "net/transport.h"
#include "net/application.h"
#include "net/presentation.h"
#include "delay.h"
#include "main/menu.h"
#include "main/dcf77.h"
Go to the source code of this file.
Functions | |
INTERRUPT (SIG_OUTPUT_COMPARE2) | |
Timer ISR which is called every 1ms. | |
void | print_hex (uint8_t value, uint8_t x, uint8_t y) |
void | print_time (void) |
int | main (void) |
The good old main function. |
This file includes all relevant packages. It is responsible for initialization and running the main loop.
Definition in file main.c.
|
Timer ISR which is called every 1ms. Manages lcd backlight and sense keypad. Definition at line 51 of file main.c. References keys_key_pressed(), keys_sense_keys(), lcd_disable_backlight(), and lcd_enable_backlight(). |
|
The good old main function. Initializes ports, all subsystems and runs the main loop. Definition at line 97 of file main.c. References dcf_init(), dcf_process(), keys_set_leds(), lcd_activate(), lcd_disable_backlight(), and lcd_init(). |