libpynq (release 5EWC0-2023 version 0.2.3 of 2023-10-06 18:15)
Loading...
Searching...
No Matches
gpio.c File Reference
#include "gpio.h"
#include "arm_shared_memory_system.h"
#include <log.h>
#include <pinmap.h>
#include <platform.h>
#include <stdio.h>
#include <stdlib.h>
#include <version.h>
Include dependency graph for gpio.c:

Go to the source code of this file.

Functions

bool gpio_is_initialized (void)
 
void gpio_init (void)
 
void gpio_destroy (void)
 
void gpio_reset_pin (const io_t pin)
 
void gpio_reset (void)
 
void gpio_set_direction (const io_t pin, const gpio_direction_t dir)
 
gpio_direction_t gpio_get_direction (const io_t pin)
 
void gpio_set_level (const io_t pin, const gpio_level_t level)
 
gpio_level_t gpio_get_level (const io_t pin)
 

Variables

volatile uint32_t * gpio = NULL
 
volatile uint32_t * intc0 = NULL
 

Variable Documentation

◆ gpio

volatile uint32_t* gpio = NULL

Definition at line 32 of file gpio.c.

◆ intc0

volatile uint32_t* intc0 = NULL

Definition at line 33 of file gpio.c.