O'Reilly logo

Embedded C Programming by Mark Siegesmund

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 17

Interrupts

Abstract

This chapter explains how to use interrupts in C programs for microcontrollers. Included is a full description of how the hardware and compiler deal with interrupts along with the responsibilities of the programmer. The different kinds of interrupts are described, with examples.

The reader will learn about when to use interrupts and interrupt timing issues, including interrupt latency. The variations between PIC® families in interrupt handing are described in detail. Programmers are taught how to deal with data accessed from inside and outside interrupt service routines (ISRs).

Examples and exercises are for the popular PIC® microcontroller manufactured by Microchip.

Keywords

Interrupt

Interrupt service ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required