void gpio_disable_all_interrupts(void)
Disables all interrupts from being raised.
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 pin_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_enable_interrupt(const pin_t pin)
enables a specific pin to raise interrupts.
void gpio_wait_for_interrupt(const pin_t pin)
Waits untill an interrupt occurs on the specified pin or if the value of pin is larger than 63,...
void gpio_ack_interrupt(void)
acknowledges the raised interrupts and resets the interrupt word. Allows new interrupts to occur on t...
void verify_interrupt_request(const pin_t pin)
Checks for error in enabled pin. Terminates the process if the pin is not enabled.