📄 020_interrupt.c
字号:
#include "C8051F020.H"
#include "intrins.h"
//-----------------------------------------------------------------------------
// 外部0中断函数
//-----------------------------------------------------------------------------
//
void Int0_ISR(void) interrupt 0
{
_nop_();
}
//-----------------------------------------------------------------------------
// 外部1中断函数
//-----------------------------------------------------------------------------
//
void Int1_ISR(void) interrupt 2
{
_nop_();
}
//-----------------------------------------------------------------------------
// SPI0中断
//-----------------------------------------------------------------------------
//
void SPI0_ISR(void) interrupt 6
{
_nop_();
}
//-----------------------------------------------------------------------------
// ADC0中断
//-----------------------------------------------------------------------------
//
void ADC0_ISR(void) interrupt 8
{
_nop_();
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -