aic.h

来自「专业汽车级嵌入式操作系统OSEK的源代码」· C头文件 代码 · 共 26 行

H
26
字号
/* 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 + =
减小字号Ctrl + -
显示快捷键?