© Hubert Henry Ward 2020
H. H. WardIntermediate C Programming for the PIC Microcontrollerhttps://doi.org/10.1007/978-1-4842-6068-5_6

6. Interrupts

Hubert Henry Ward1 
(1)
Leigh, UK
 

In this chapter, you are going to look at interrupts. You will look at the importance of the fetch and execute cycle and the program counter.

Also, as stated in Chapter 4, you will use the compare aspect of the CCP module to create a square wave.

After reading this chapter, you will know what the program counter (PC) is and its importance. You will also learn what interrupts are, what they can be used for, and how to use them. You will appreciate what the compare aspect of the CCP module can do.

What Are Interrupts?

Interrupts are a very useful aspect of a microcontroller. ...

Get Intermediate C Programming for the PIC Microcontroller: Simplifying Embedded Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.