-
Notifications
You must be signed in to change notification settings - Fork 0
Ext Int Enumerations
This page contains information about external interrupt enumerations that are used within the External Interrupt SUBLIBinal peripheral library. Please refer to the following links to be redirected towards documentation on the appropriate enumeration.
Definition
typedef enum {
INT0,
INT1,
INT2,
INT3,
INT4
}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 pullup, pulldown, or no internal resistor should be used. A pullup resistor will pull a signal high when nothing is connected to a pin, while a pulldown will pull a line low when nothing is connected. Pullup or pulldown resistors should be used if an input may leave a pin "floating".
SUBLIBinal was created by the Palouse Robosub Club.