void gpio_disable_all_interrupts(void)
Disables all interrupts from being raised.
void gpio_enable_interrupt(const gpio_t pin)
enables a specific pin to raise interrupts.
uint8_t * gpio_get_interrupt_pins(uint8_t *positions)
Gets all pins on which an interrupt occurred.
int gpio_interrupt_init(void)
Enables interrupts to be set and read.
uint64_t gpio_get_interrupt(void)
void gpio_disable_interrupt(const gpio_t pin)
Disables interrupts from occuring on the specific pin. Hereafter, the pin will not trigger an interru...
void gpio_print_interrupt(void)
prints the current interrupt word
void gpio_wait_for_interrupt(const gpio_t pin)
Waits untill an interrupt occurs on the specified pin or if the value of pin is larger than 63,...
void verify_interrupt_request(const gpio_t pin)
Checks for error in enabled pin. Terminates the process if the pin is not enabled.
void gpio_ack_interrupt(void)
acknowledges the raised interrupts and resets the interrupt word. Allows new interrupts to occur on t...