Location:
Search - LPC2138 timer
Search list
Description: IAR开发环境下LPC2138利用定时器输出方波示例!
Platform: |
Size: 9718 |
Author: 李连玉 |
Hits:
Description: IAR开发环境下LPC2138利用定时器输出方波示例!-IAR development environment LPC2138 examples of the use of timer square wave output!
Platform: |
Size: 23552 |
Author: |
Hits:
Description: LPC2138外接的4*4矩阵键盘扫描!硬件方面接到了2138的P1.16到P1.23.使用定时器0定时检测键盘扫描.-LPC2138 external 4* 4 matrix keyboard scanning! Hardware received 2138 of P1.16 to P1.23. Using timer 0 timer keyboard scan detection.
Platform: |
Size: 111616 |
Author: wangyong |
Hits:
Description: how to use timer of lpc2138
Platform: |
Size: 48128 |
Author: adi |
Hits:
Description: 采用LPC2138做控制器,利用PWM控制发射头发射超声波,然后利用定时器的捕获功能得到接收超声波的时间。-Done using LPC2138 controller, using PWM control launching the first launch wave, and then using the timer capture function was to receive ultrasonic time.
Platform: |
Size: 3744768 |
Author: niebing |
Hits:
Description: This folder contains the usage of cature and timer in lpc2138
Platform: |
Size: 261120 |
Author: naveen |
Hits:
Description: LPC2138 ARM外部中断实例包括定时器中断-The LPC2138 ARM external interrupt sample code including timer interrupt
Platform: |
Size: 35840 |
Author: robin peng |
Hits:
Description: ucos下 ARM7,LPC2138的定时器使用范例很好的代码-ucos under the ARM7, LPC2138 timers use the example of good code
Platform: |
Size: 50176 |
Author: 刘一 |
Hits:
Description: Timer-Interupt For lpc2138
Platform: |
Size: 261120 |
Author: SDR |
Hits:
Description: 6. 定时器程序设计与电路仿真
LPC2138微控制器具有两个32位定时器,分别具有4路捕获收入,4路匹配比较输出,定时器是增量计数的,但溢出时并不会使中断标志置位,而只能通过比较匹配或捕获输入产生中断标志。
定义LED的输出端口,设置所有的引脚连接,使用IO0DIR寄存器定义LED控制口的输出,初始化定时器0,设置定时器0的分频、比较值。等待定时时间到,清除中断标志,通过IO0SET、IO0CLR寄存器控制LED的亮灭。
-6 Timer program design and circuit simulation LPC2138 microcontroller has two 32-bit timers, each with 4 capture revenue, four matched comparison output, the timer count is incremental, but does not cause overflow interrupt flag is set, but only by compare match or input capture interrupt flag. Definition LED output ports, set all the pin connections, use IO0DIR Register Definition LED control output port, initialize the timer 0, set the timer 0 prescaler compare values. Wait regular time to clear the interrupt flag, through IO0SET, IO0CLR registers control the LED light off.
Platform: |
Size: 140288 |
Author: 宋喜佳 |
Hits:
Description: 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.
Platform: |
Size: 102400 |
Author: 宋喜佳 |
Hits:
Description: ARM7-lpc2138 利用PWM作为标准的32定时器例子 -example of using PMW TO make timer by LPC 2138 arm7
Platform: |
Size: 35840 |
Author: 王华 |
Hits: