OpenCores
URL https://opencores.org/ocsvn/riscv_vhdl/riscv_vhdl/trunk

Subversion Repositories riscv_vhdl

[/] [riscv_vhdl/] [trunk/] [examples/] [common/] [maps/] [map_gpio.h] - Rev 5

Compare with Previous | Blame | View Log

/******************************************************************************
 * @file
 * @copyright Copyright 2015 GNSS Sensor Ltd. All right reserved.
 * @author    Sergey Khabarov - sergeykhbr@gmail.com
 * @brief     GPIO register mapping definition.
******************************************************************************/
 
#ifndef __MAP_GPIO_H__
#define __MAP_GPIO_H__
 
#include <inttypes.h>
 
typedef struct gpio_map {
    volatile uint32_t led;
    volatile uint32_t dip;
    volatile uint32_t reg2;
    volatile uint32_t reg3;
    volatile uint32_t led_period;
    volatile uint32_t reg5;
    volatile uint32_t reg6;
} gpio_map;
 
#endif  // __MAP_GPIO_H__
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.