#ifndef CLOCK_H #define CLOCK_H /* this dcf77-module relies on a accuarate clock (crystal) for receiving * the dcf-signal. therefor the clock is going to work as expected, * even with no dcf77-signal available. * receivement is automatically turned on, if the avr is connected to the * signal via INT0. if there is no signal the clock will not be set (K.I.S.S.) * */ #include #include #include #define INT0_CONTROL MCUCR // #define INT0_FALLING_EDGE 0x02 // #define INT0_RISING_EDGE 0x03 #define INT0_FALLING_EDGE (1<