libpynq (release 5EWC0-2023 version 0.2.6 of 2023-10-24 17:28)
Loading...
Searching...
No Matches
interrupt.c File Reference
#include "arm_shared_memory_system.h"
#include <fcntl.h>
#include <gpio.h>
#include <log.h>
#include <platform.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <util.h>
Include dependency graph for interrupt.c:

Go to the source code of this file.

Macros

#define DOMAIN   "Interrupt"
 

Functions

void check_initialization (void)
 
int gpio_interrupt_init (void)
 
void gpio_enable_interrupt (const io_t pin)
 
void gpio_disable_interrupt (const io_t pin)
 
void gpio_disable_all_interrupts (void)
 
uint64_t gpio_get_interrupt (void)
 
void gpio_ack_interrupt (void)
 
void verify_interrupt_request (const io_t pin)
 
void gpio_print_interrupt (void)
 
void findSetBitPositions (uint64_t word, uint8_t *positions)
 
void gpio_wait_for_interrupt (const io_t pin)
 
uint8_t * gpio_get_interrupt_pins (uint8_t *positions)
 

Variables

uint32_t * gpio
 
uint32_t * intc0
 

Macro Definition Documentation

◆ DOMAIN

#define DOMAIN   "Interrupt"

Definition at line 34 of file interrupt.c.

Function Documentation

◆ check_initialization()

void check_initialization ( void  )

Definition at line 41 of file interrupt.c.

Here is the caller graph for this function:

◆ findSetBitPositions()

void findSetBitPositions ( uint64_t  word,
uint8_t *  positions 
)

Definition at line 126 of file interrupt.c.

Here is the caller graph for this function:

Variable Documentation

◆ gpio

uint32_t* gpio
extern

Definition at line 32 of file gpio.c.

◆ intc0

uint32_t* intc0
extern

Definition at line 33 of file gpio.c.