TCCR2

Timer Counter Control Register for ATMEGA 16

Calculate value for OCR2 for PWM or TCNT2 value For Generate Desire Frequency

Xtal value:
Prescaler value:
PWM Frequency(Hz):
OCR0 Value:
TCNT0 Value:

Overflow Interrupt: Compare:
FOC2: WGM20: COM21: COM20: WGM21: CS22: CS21: CS20:

TCCR2 = 0x0

0

Clock select: No Clock Source Timer/Counter Stopped.

Mode select: Normal.

Compare Output Mode: Normal Port Operation, OC0 disconnected.

NO Interrupt Timsk = 0x20