I'm working with a Mega-1284P xplained board.
I'm using Atmel studio 7 and an example project.
avr_compiler.h is included and it has this snippet:
#ifndef F_CPU /*! \brief Define default CPU frequency, if this is not already defined. */ #define F_CPU 11059200UL #endif
So my CPU Clock seems to be 11.0592MHz.
If that is the case what is the I/O clock running at?
I am specifically trying to correctly set Timer1 prescaler based off whatever the I/O clock speed is.
Is the I/O clock running at the same speed as the CPU Clock?
There is a 32kHz crystal hooked up. Does the Timer default to the Async Time Clock when it is present?
How can I tell if the Asynchronous Timer Clock is the time base for the Timers?
My fuse settings...