27#ifndef LIBRISHKA_INT_H
28#define LIBRISHKA_INT_H
Class for handling interrupt operations in Rishka applications.
Definition: int.h:54
static void detach(u8 pin)
Detach the interrupt handler from a GPIO pin.
Definition: librishka_int.cpp:33
static void disable()
Disable interrupts globally.
Definition: librishka_int.cpp:25
static void attach(u8 pin, void(*callback)(void), int_mode_t mode)
Attach an interrupt handler to a GPIO pin.
Definition: librishka_int.cpp:29
static void enable()
Enable interrupts globally.
Definition: librishka_int.cpp:21
int_mode_t
Enum representing interrupt modes for GPIO pins.
Definition: int.h:40
@ INT_CHANGE
Definition: int.h:41
@ INT_RISING
Definition: int.h:43
@ INT_FAILING
Definition: int.h:42
Header file for common data types used in Rishka applications.
unsigned char u8
Alias for the unsigned 8-bit integer type.
Definition: types.h:70