This function configures and activates the timer used for system time.
Definition at line 172 of file timer.c. References OCR_VALUE. Referenced by init_InitModules(). {
// Timer2 einstellen
TCCR2A = (1<<WGM21);
TCCR2B = (1<<CS22);
TCNT2 = 0U;
OCR2A = OCR_VALUE;
TIMSK2 |= (1<<OCIE2A);
}
Here is the caller graph for this function:
![]() |
1.7.2