libpynq (release 5EWC0-2023 version 0.2.0 of 2023-08-28 20:33)
Loading...
Searching...
No Matches
interrupt.c
Go to the documentation of this file.
1#include <interrupt.h>
3void gpio_ack_interrupt(void){};
9uint64_t gpio_get_interrupt(void){};
10uint8_t *gpio_get_interrupt_pins(uint8_t *positions){};
uint8_t gpio_t
Definition gpio.h:99
void gpio_disable_all_interrupts(void)
Disables all interrupts from being raised.
Definition interrupt.c:8
void gpio_enable_interrupt(const gpio_t pin)
enables a specific pin to raise interrupts.
Definition interrupt.c:6
uint8_t * gpio_get_interrupt_pins(uint8_t *positions)
Gets all pins on which an interrupt occurred.
Definition interrupt.c:10
int gpio_interrupt_init(void)
Enables interrupts to be set and read.
Definition interrupt.c:2
uint64_t gpio_get_interrupt(void)
Definition interrupt.c:9
void gpio_disable_interrupt(const gpio_t pin)
Disables interrupts from occuring on the specific pin. Hereafter, the pin will not trigger an interru...
Definition interrupt.c:7
void gpio_print_interrupt(void)
prints the current interrupt word
Definition interrupt.c:5
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,...
Definition interrupt.c:11
void verify_interrupt_request(const gpio_t pin)
Checks for error in enabled pin. Terminates the process if the pin is not enabled.
Definition interrupt.c:4
void gpio_ack_interrupt(void)
acknowledges the raised interrupts and resets the interrupt word. Allows new interrupts to occur on t...
Definition interrupt.c:3