-
Notifications
You must be signed in to change notification settings - Fork 0
Ext Int Enumerations
This page contains information about the external interrupt enumerations that are used within the SUBLIBinal External Interrupt peripheral library. Please refer to the following links to be redirected to documentation on the appropriate enumeration.
Definition
typedef enum {
Interrupt_0,
Interrupt_1,
Interrupt_2,
Interrupt_3,
Interrupt_4
}Interrupt;
The Interrupt
enumeration is simply used to determine which interrupt will be configured.
Definition
typedef enum {
falling,
rising
} Polarity;
The Polarity
enumeration is used to specify whether an interrupt will be triggered on either a rising or a falling edge. The microcontroller does not support trigger on multiple edges.
Definition
typedef enum {
none,
pullup,
pulldown
} Resistor;
The Resistor
enumeration is used to determine whether an internal pull-up, pull-down, or no internal resistor should be used. A pull-up resistor will pull a signal high when nothing is connected to a pin, while a pull-down will pull a line low when nothing is connected. Pull-up or pull-down resistors should be used if an input may leave a pin "floating".
SUBLIBinal was created by the Palouse Robosub Club.