A timer is a simple counter! The input clock of microcontroller and operation of the timer is independent of the program execution.All the Atmel microcontrollers have Timers as an inbuilt peripheral.
This application note presents an example of using the compare match timer of SH7216. Also presented in this document are the specifications, applications, as well as the sample program listings of ...
To see the interrupts occurring on your system, run the command: # watch -n1 "cat /proc/interrupts" CPU0 CPU1 0: 330 0 IO-APIC-edge timer 1: 11336 0 IO-APIC-edge i8042 4: 2 0 IO-APIC-edge 6: 3 0 ...