interrupt.h
来自「ARM9-2410的LED灯点亮码源」· C头文件 代码 · 共 50 行
H
50 行
#ifndef __INTERRUPT_H__
#define __INTERRUPT_H__
#define IRQ_MAX 32
#define IRQ_MIN 1
// Description interrupt micra define
#define IRQ_EINT0 1
#define IRQ_EINT1 2
#define IRQ_EINT2 3
#define IRQ_EINT3 4
#define IRQ_EINT4_7 5
#define IRQ_EINT8_23 6
#define IRQ_NOTUSED6 7
#define IRQ_BAT_FLT 8
#define IRQ_TICK 9
#define IRQ_WDT 10
#define IRQ_TIMER0 11
#define IRQ_TIMER1 12
#define IRQ_TIMER2 13
#define IRQ_TIMER3 14
#define IRQ_TIMER4 15
#define IRQ_UART2 16
#define IRQ_LCD 17
#define IRQ_DMA0 18
#define IRQ_DMA1 19
#define IRQ_DMA2 20
#define IRQ_DMA3 21
#define IRQ_SDI 22
#define IRQ_SPI0 23
#define IRQ_UART1 24
#define IRQ_NOTUSED24 25
#define IRQ_USBD 26
#define IRQ_USBH 27
#define IRQ_IIC 28
#define IRQ_UART0 29
#define IRQ_SPI1 30
#define IRQ_RTC 31
#define IRQ_ADC 32
void Isr_Init(void);
void Irq_Request(int irq_no, void* irq_routine);
void Irq_Enable(int irq_no);
void Irq_Disable(int irq_no);
void Irq_Clear(int irq_no);
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?