ATmega16 contains a timer modul (Timer2) that can be used for RTC functionality.
Currently 16-bit Timer1 modul is used to generate 1sec interrupt. This timer modul runs from f_io that is the internal RC oscillator which is configured to 8MHz.
Todos:
use Timer2 instead of Timer1 to generate 1sec interrupt
set Timer2 to run from external 32.768kHz watch crystal
ATmega16 contains a timer modul (Timer2) that can be used for RTC functionality. Currently 16-bit Timer1 modul is used to generate 1sec interrupt. This timer modul runs from f_io that is the internal RC oscillator which is configured to 8MHz.
Todos: