29#ifndef _ALTERA_AVALON_PIO_REGS_H
30#define _ALTERA_AVALON_PIO_REGS_H
32#include <bsp_system.h>
34#define ALTERA_AVALON_PIO_DIRECTION_INPUT 0
35#define ALTERA_AVALON_PIO_DIRECTION_OUTPUT 1
43 volatile uint32_t data;
44 volatile uint32_t direction;
45 volatile uint32_t interruptmask;
46 volatile uint32_t edgecapture;
47 volatile uint32_t outset;
48 volatile uint32_t outclear;
51#define LED_PIO_REGS (( volatile altera_avalon_pio_regs* )LED_PIO_BASE )
52#define USER_DIPSW_REGS (( volatile altera_avalon_pio_regs* )USER_DIPSW_BASE )
53#define USER_PB_REGS (( volatile altera_avalon_pio_regs* )USER_PB_BASE )
Definition: altera_avalon_pio_regs.h:42