* \author Francesco Sacchi <batt@develer.com>
* \author Luca Ottaviano <lottaviano@develer.com>
*
- * \brief Low-level timer module for AVR (implementation).
+ * \brief Low-level timer module for AVR MEGA (implementation).
*
* This module is automatically included so no need to include
* in test list.
* notest: avr
*/
-#include <drv/timer_avr.h>
+#include <drv/timer_mega.h>
#include <cfg/macros.h> // BV()
#include <cpu/types.h>
REG_TIFR0 = BV(BIT_OCF0A) | BV(TOV0);
/* Setup Timer/Counter interrupt */
- ASSR = 0x00; /* Internal system clock */
-
REG_TCCR0A = 0; // TCCR2 reg could be separate or a unique register with both A & B values, this is needed to
REG_TCCR0B = 0;