-
Notifications
You must be signed in to change notification settings - Fork 0
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.
To view code examples of an external interrupt implementation, please see the External Interrupt Example.
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.
SUBLIBinal was created by the Palouse Robosub Club.