The clock select options for Timer0 of the ATmega32 microcontroller appear to be incorrect. According to the ATmega32 datasheet, the clock select bits (CS02:0) should provide the following options:
CS02:0 = 000: No clock source (Timer/Counter stopped)
CS02:0 = 001: No prescaling
CS02:0 = 010: Clock/8
CS02:0 = 011: Clock/64
CS02:0 = 100: Clock/256
CS02:0 = 101: Clock/1024
CS02:0 = 110: External clock source on T0 pin, clock on falling edge
CS02:0 = 111: External clock source on T0 pin, clock on rising edge
However, the current implementation/documentation lists the options incorrectly as follows (example of the error):
Description:
The clock select options for Timer0 of the ATmega32 microcontroller appear to be incorrect. According to the ATmega32 datasheet, the clock select bits (CS02:0) should provide the following options:
However, the current implementation/documentation lists the options incorrectly as follows (example of the error):