文件名称:INT
-
所属分类:
- 标签属性:
- 上传时间:2013-08-02
-
文件大小:99.92kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
8. 中断程序设计与电路仿真
LPC2138微控制器的中断管理是由向量中断控制器VIC操作的,向量中断控制器具有32个中断请求输入(32个中断通道,但LPC2138只使用了19个通道号0~18)可将它们设置为FIQ、向量IRQ和非向量IRQ,通过编程不同外设的向量IRQ的中断优先级,可以实现动态分配调整。
定义蜂鸣器的输出端口,运用寄存器PINSEL0、PINSEL1设置EINT3唤醒芯片,清除EINT3中断标志。运用while、if-else循环语句设置定时器、蜂鸣器。将定时器、RTC、串口功能关闭,在掉电模式下运用IO0SET、IO0CLR寄存器控制蜂鸣器的蜂鸣。
-8 interrupt program design and circuit simulation LPC2138 microcontroller interrupt managed by the Vectored Interrupt Controller VIC operations, vectored interrupt controller has 32 interrupt request inputs (32 interrupt channels, but uses only 19 LPC2138 channel number 0 to 18) they can be set to FIQ, vectored IRQ and non-vectored IRQ, by programming the various peripherals vectored IRQ interrupt priority level can be adjusted dynamically allocated. Definition buzzer output port, the use of registers PINSEL0, PINSEL1 EINT3 wake up the chip set, clear EINT3 interrupt flag. Use while, if-else loop to set the timer, buzzer. The timer, RTC, serial feature off in power-down mode, use IO0SET, IO0CLR register controls the buzzer beeps.
LPC2138微控制器的中断管理是由向量中断控制器VIC操作的,向量中断控制器具有32个中断请求输入(32个中断通道,但LPC2138只使用了19个通道号0~18)可将它们设置为FIQ、向量IRQ和非向量IRQ,通过编程不同外设的向量IRQ的中断优先级,可以实现动态分配调整。
定义蜂鸣器的输出端口,运用寄存器PINSEL0、PINSEL1设置EINT3唤醒芯片,清除EINT3中断标志。运用while、if-else循环语句设置定时器、蜂鸣器。将定时器、RTC、串口功能关闭,在掉电模式下运用IO0SET、IO0CLR寄存器控制蜂鸣器的蜂鸣。
-8 interrupt program design and circuit simulation LPC2138 microcontroller interrupt managed by the Vectored Interrupt Controller VIC operations, vectored interrupt controller has 32 interrupt request inputs (32 interrupt channels, but uses only 19 LPC2138 channel number 0 to 18) they can be set to FIQ, vectored IRQ and non-vectored IRQ, by programming the various peripherals vectored IRQ interrupt priority level can be adjusted dynamically allocated. Definition buzzer output port, the use of registers PINSEL0, PINSEL1 EINT3 wake up the chip set, clear EINT3 interrupt flag. Use while, if-else loop to set the timer, buzzer. The timer, RTC, serial feature off in power-down mode, use IO0SET, IO0CLR register controls the buzzer beeps.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
INT/CONFIG.H
INT/HEAP.S
INT/INT.axf
INT/INT.DSN
INT/INT.hex
INT/INT.htm
INT/INT.lnp
INT/INT.map
INT/INT.Opt
INT/INT.plg
INT/INT.PWI
INT/INT.sct
INT/INT.tra
INT/INT.Uv2
INT/INT_Opt.Bak
INT/INT_Target 1.dep
INT/INT_Uv2.Bak
INT/IRQ.S
INT/Last Loaded INT.DBK
INT/LPC2138.H
INT/main.C
INT/main.crf
INT/main.d
INT/main.i
INT/main.o
INT/main.txt
INT/STACK.S
INT/Startup.lst
INT/Startup.o
INT/Startup.s
INT/TARGET.C
INT/TARGET.H
INT
INT/HEAP.S
INT/INT.axf
INT/INT.DSN
INT/INT.hex
INT/INT.htm
INT/INT.lnp
INT/INT.map
INT/INT.Opt
INT/INT.plg
INT/INT.PWI
INT/INT.sct
INT/INT.tra
INT/INT.Uv2
INT/INT_Opt.Bak
INT/INT_Target 1.dep
INT/INT_Uv2.Bak
INT/IRQ.S
INT/Last Loaded INT.DBK
INT/LPC2138.H
INT/main.C
INT/main.crf
INT/main.d
INT/main.i
INT/main.o
INT/main.txt
INT/STACK.S
INT/Startup.lst
INT/Startup.o
INT/Startup.s
INT/TARGET.C
INT/TARGET.H
INT
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.