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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [orpsocv2/] [sw/] [drivers/] [or1200/] [include/] [or1200-utils.h] - Diff between revs 411 and 489

Show entire file | Details | Blame | View Log

Rev 411 Rev 489
Line 1... Line 1...
#ifndef _OR1200_UTILS_H_
#ifndef _OR1200_UTILS_H_
#define _OR1200_UTILS_H_
#define _OR1200_UTILS_H_
 
 
 
// Pull in interrupt defines here
 
#include "int.h"
 
 
/* Register access macros */
/* Register access macros */
#define REG8(add) *((volatile unsigned char *)(add))
#define REG8(add) *((volatile unsigned char *)(add))
#define REG16(add) *((volatile unsigned short *)(add))
#define REG16(add) *((volatile unsigned short *)(add))
#define REG32(add) *((volatile unsigned long *)(add))
#define REG32(add) *((volatile unsigned long *)(add))
 
 

powered by: WebSVN 2.1.0

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