c51单片机中断函数
如:
voidserial()
interrupt4
{
}
和
voidserial_
uart()interrupt 4
{
}
两个函数的功能都是定义串口
中断函数。函数名字不一样不重要,重要的是函数名字后面的interrupt 4(中断向量表地址)要正确。
评论