ahbarb.h

来自「用VHDL语言实现的ARM处理器的标准内核的源代码程序」· C头文件 代码 · 共 25 行

H
25
字号
#ifndef AHBARB_H
#define AHBARB_H

#define AHBARB_MAXMASTER 2
#define AHBARB_MAXSLAVE  2


typedef int (* ahb_write)();
typedef int (* ahb_read)();

typedef struct _ahb_slave {
  ahb_write write;
  ahb_read read;
  
  unsigned int start, end;
  void *c;
} ahb_slave;

typedef struct _ahbarb {
  ahb_slave slaves[AHBARB_MAXSLAVE]; 
} ahbarb;


#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?