URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 502 |
Rev 1374 |
Line 19... |
Line 19... |
*/
|
*/
|
|
|
#ifndef __OR1KSIM_PERIPHERAL_GPIO_H
|
#ifndef __OR1KSIM_PERIPHERAL_GPIO_H
|
#define __OR1KSIM_PERIPHERAL_GPIO_H
|
#define __OR1KSIM_PERIPHERAL_GPIO_H
|
|
|
/* Exported function prototypes */
|
/* Address space required by one GPIO */
|
void gpio_reset( void );
|
|
void gpio_clock( void );
|
|
void gpio_status( void );
|
|
|
|
|
|
/* Address space required by one Ethernet MAC */
|
|
#define GPIO_ADDR_SPACE 0x20
|
#define GPIO_ADDR_SPACE 0x20
|
|
|
/* Relative Register Addresses */
|
/* Relative Register Addresses */
|
#define RGPIO_IN 0x00
|
#define RGPIO_IN 0x00
|
#define RGPIO_OUT 0x04
|
#define RGPIO_OUT 0x04
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.