文件名称:F06x_External_Interrupts
介绍说明--下载内容来自于网络,使用问题请自行百度
C8051F060 外中断程序.程序展示了如何配置外中断0和外中断1.在 P0.0 脚上的边沿触发信号翻转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.
(/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.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
F06x_External_Interrupts.c
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.