wpi-32u4-library
|
#include <pcint.h>
Go to the source code of this file.
Typedefs | |
typedef void(* | PCISR) (void) |
Functions | |
void | attachPCInt (uint8_t pcInt, void(*pcisr)(void)) |
Attaches a function to a pin change interrupt. More... | |
ISR (PCINT0_vect) | |
uint8_t | digitalPinToPCInterrupt (uint8_t pin) |
Variables | |
PCISR | pcISR [] = {0, 0, 0, 0, 0, 0, 0, 0} |
static volatile uint8_t | lastB = PINB |
void attachPCInt | ( | uint8_t | pcInt, |
void(*)(void) | pcisr | ||
) |
Attaches a function to a pin change interrupt.
pcInt | The specific pin change interrupt, e.g., "PCINT3" |
pcisr | A pointer to the ISR function, of type void fxn(void). |
Definition at line 12 of file pcint.cpp.
Referenced by IRDecoder::init(), Rangefinder::init(), and Romi32U4Motor::initEncoders().
uint8_t digitalPinToPCInterrupt | ( | uint8_t | pin | ) |
Definition at line 53 of file pcint.cpp.
Referenced by IRDecoder::init(), and Rangefinder::init().
|
static |
Definition at line 10 of file pcint.cpp.
Referenced by attachPCInt(), and ISR().
PCISR pcISR[] = {0, 0, 0, 0, 0, 0, 0, 0} |
Definition at line 7 of file pcint.cpp.
Referenced by attachPCInt(), and ISR().