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

Subversion Repositories riscv_vhdl

[/] [riscv_vhdl/] [trunk/] [examples/] [common/] [maps/] [map_gpio.h] - Blame information for rev 5

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 5 sergeykhbr
/******************************************************************************
2
 * @file
3
 * @copyright Copyright 2015 GNSS Sensor Ltd. All right reserved.
4
 * @author    Sergey Khabarov - sergeykhbr@gmail.com
5
 * @brief     GPIO register mapping definition.
6
******************************************************************************/
7
 
8
#ifndef __MAP_GPIO_H__
9
#define __MAP_GPIO_H__
10
 
11
#include <inttypes.h>
12
 
13
typedef struct gpio_map {
14
    volatile uint32_t led;
15
    volatile uint32_t dip;
16
    volatile uint32_t reg2;
17
    volatile uint32_t reg3;
18
    volatile uint32_t led_period;
19
    volatile uint32_t reg5;
20
    volatile uint32_t reg6;
21
} gpio_map;
22
 
23
#endif  // __MAP_GPIO_H__

powered by: WebSVN 2.1.0

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