⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 aic.h

📁 专业汽车级嵌入式操作系统OSEK的源代码
💻 H
字号:
/* Driver for the AT91SAM7's Advanced Interrupt Controller (AIC). * * The AIC is responsible for queuing interrupts from other * peripherals on the board. It then hands them one by one to the ARM * CPU core for handling, according to each peripheral's configured * priority. */#ifndef __AIC_H__#  define __AIC_H__#  include "mytypes.h"void aic_initialise(void);void aic_set_vector(U32 vector, U32 mode, U32 isr);void aic_mask_on(U32 vector);void aic_mask_off(U32 vector);void aic_clear(U32 mask);/* Priority levels for interrupt lines. */#  define AIC_INT_LEVEL_LOW    2#  define AIC_INT_LEVEL_NORMAL 4#  define AIC_INT_LEVEL_ABOVE_NORMAL 5#endif

⌨️ 快捷键说明

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