Interrupt-related functions and definitions.
More...
|
|
#define | LOW 0x0 |
| | Represents a low state (0V).
|
| |
|
#define | HIGH 0x1 |
| | Represents a high state (usually 3.3V or 5V).
|
| |
|
#define | CHANGE 0x2 |
| | Represents a change in state.
|
| |
|
#define | FALLING 0x3 |
| | Represents a transition from high to low.
|
| |
|
#define | RISING 0x4 |
| | Represents a transition from low to high.
|
| |
|
| void | interrupts (void) |
| | Enables interrupts, allowing the execution of interrupt service routines. More...
|
| |
| void | noInterrupts (void) |
| | Disables interrupts, preventing the execution of interrupt service routines. More...
|
| |
| uint8_t | digitalPinToInterrupt (uint8_t pin) |
| | Converts a digital pin number to the corresponding interrupt number. More...
|
| |
| void | attachInterrupt (uint8_t interruptNum, void(*userFunc)(void), int mode) |
| | Attaches an interrupt service routine to a specified interrupt. More...
|
| |
| void | detachInterrupt (uint8_t interruptNum) |
| | Detaches an interrupt service routine from a specified interrupt. More...
|
| |
Interrupt-related functions and definitions.
◆ attachInterrupt()
| void attachInterrupt |
( |
uint8_t |
interruptNum, |
|
|
void(*)(void) |
userFunc, |
|
|
int |
mode |
|
) |
| |
◆ detachInterrupt()
| void detachInterrupt |
( |
uint8_t |
interruptNum | ) |
|
◆ digitalPinToInterrupt()
| uint8_t digitalPinToInterrupt |
( |
uint8_t |
pin | ) |
|
◆ interrupts()
◆ noInterrupts()
| void noInterrupts |
( |
void |
| ) |
|