1 What is the Timer2 Library ?
The Timer2 (TMR2) module serves as an 8-bit synchronous/asynchronous timer/counter. It provides programmable internal or external clock sources, prescalers, and interrupt capabilities. The TMR2 module operates in Free-Running Period, One Shot, and Monostable modes, offering various options for starting, stopping, and resetting the timer.