Skip to content

External Interrupts

bkallaher edited this page Sep 6, 2015 · 3 revisions

External Interrupts

This page contains information about the External Interrupts peripheral library. This library is designed to allow for an in-depth configuration of external interrupts. The library documentation is divided into enumeration explanations, structure declarations, and available functions. Please refer to the list below to be directed to the appropriate documentation.

External Interrupts Implementation

To view code examples of an external interrupt implementation, please see the External Interrupt Example.


What are External Interrupts?

External interrupts are interrupts that are triggered when an edge is detected on a specified pin. An edge is defined as a transition from a low voltage to a high voltage (rising edge) or transition from a high voltage to a low voltage (falling edge). When one of these specified events occur, an interrupt is triggered within the microcontroller, and code can be run. External interrupts are ideal for getting user input from buttons and switches. The library allows implementation of pull-up and pull-down resistors internally to make the implementation of simple switches easy.

top

Clone this wiki locally