The ASSR register is used for asynchronous counter timer2. Checked
for ATmega8/16, ATmega48/168/328, and ATmega1280.
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4860
38d2e660-2303-0410-9eaa-
f027e97ec537
REG_TIFR0 = BV(BIT_OCF0A) | BV(TOV0);
/* Setup Timer/Counter interrupt */
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;
REG_TCCR0A = 0; // TCCR2 reg could be separate or a unique register with both A & B values, this is needed to
REG_TCCR0B = 0;