timer implementation with prescaler value which depends on F_CPU