at91_aic.h

来自「lwip在ucos上的移植」· C头文件 代码 · 共 42 行

H
42
字号
/*   
 *  at91_aic.h  
 *  this file defines AIC information on AT91X40 
 *  for Atmel AT91 advanced interrupt controller
 *
 *  Bugs report:  li ming  ( lmcs00@mails.tsinghua.edu.cn )
 *
 */

#ifndef __AT91_AIC_H
#define __AT91_AIC_H

/* always include this file for at91 peripherals */
#include "at91.h"


/* here define peripheral-specific hardware datastruct */
#define AIC_BASE		(0xfffff000)

/*
 ******************* COMMON PART ********************
 */
#define AIC_SMR(i)  (AIC_BASE+i*4)
#define AIC_IVR	    (AIC_BASE+0x100)
#define AIC_FVR	    (AIC_BASE+0x104)
#define AIC_ISR	    (AIC_BASE+0x108)
#define AIC_IPR	    (AIC_BASE+0x10C)
#define AIC_IMR	    (AIC_BASE+0x110)
#define AIC_CISR    (AIC_BASE+0x114)
#define AIC_IECR    (AIC_BASE+0x120)
#define AIC_IDCR    (AIC_BASE+0x124)
#define AIC_ICCR    (AIC_BASE+0x128)
#define AIC_ISCR    (AIC_BASE+0x12C)
#define AIC_EOICR   (AIC_BASE+0x130)




void at91_init_aic(void);

#endif __AT91_AIC_H

⌨️ 快捷键说明

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