发信人: herald()
整理人: camelsu(2001-01-30 01:26:12), 站内信件
|
请问中断服务程序timer0() interrupt 1 using 2中的using 2是干什么用的?
今天看一个frankling C51 的一个中断服务的demo程序
timer0() interrupt 1 using 2
{
/* Second Interval Processor */
if( ++count == SECOND ) { /* increment interrupt counter */
if( alarm &&
alarmtime.hour == clocktime.hour &&
alarmtime.min == clocktime.min &&
alarmtime.sec == clocktime.sec
. .
. .
. .
. .
请问中断服务程序timer0() interrupt 1 using 2中的using 2是干什么用的?
-- Hi,我是 将军令
聆听天籁之音,感受云淡风轻 就在《靓碟快递》
http://bestcd.yeah.net
※ 来源:.月光软件站 http://www.moon-soft.com.[FROM: 202.101.117.21]
|
|