Interrupts

所属分类:嵌入式/单片机/硬件编程
开发工具:C++
文件大小:2KB
下载次数:36
上传日期:2010-06-30 14:39:11
上 传 者wang_hg
说明:  C8051F020单片机中断程序 This software shows the necessary configuration to use External Interrupt 0 (/INT0) or External Interrupt 1 (/INT1) as an interrupt source. The code executes the initialization routines and then spins in an infinite while() loop. If the button P3.7 (on the target board) is pressed, then the edge-triggered /INT0 input on P0.0 will cause an interrupt and toggle the LED.
(This software shows the necessary configuration to use External Interrupt 0 (/INT0) or External Interrupt 1 (/INT1) as an interrupt source. The code executes the initialization routines and then spins in an infinite while() loop. If the button P3.7 (on the target board) is pressed, then the edge-triggered /INT0 input on P0.0 will cause an interrupt and toggle the LED.)

文件列表:
Interrupts\F02x_External_Interrupts.c (7154, 2009-02-19)
Interrupts (0, 2010-06-30)

近期下载者

相关文件


收藏者