Use of timers for periodic interrupt generation was previously discussed in Chapter 9. However, that discussion only scratched the surface of the capabilities and application of the PIC24 timer subsystems. This chapter discusses the use of PIC24 timers for time measurement, waveform generation, real-time clock keeping, and pulse width modulation. Example applications include biphase waveform decoding for infrared reception, servo positioning, and DC motor speed control.
After reading this chapter, you will be able to:
Discuss the specifics of the Timer1, Timer2, and Timer3 subsystems.
Use the input capture ...