ABSTRACT
Many embedded applications require a microcontroller to operate at a different clock
frequency depending on the mode of operation. In addition, the microcontroller is
required to generate accurate timing intervals, time/count external events (timer as
an input device) and generate digital signals of desired frequency and pulse duration
(timer as an output device).