我如何在LPC1115控制器中使用定时器 [英] how do I work on timers in LPC1115 controller

查看:70
本文介绍了我如何在LPC1115控制器中使用定时器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

目前我正在LPC1115(ARM7)控制器上进行定时器操作。

如何在LPC1115中设置定时器和定时器相关的寄存器。

我正在使用c编程和KEIL愿景4作为IDE。

ex;如果我选择时间为5分钟。所以在计算60秒后,时间应减少一分钟。 ie.e4,3,2..0。怎么做?

我想在液晶显示板上显示时间。请给我关于此的建议。

presently I'm working on timer operation on LPC1115 (ARM7) controller.
how to set the timer and timer related registers in LPC1115.
I'm using c programming and KEIL vision 4 as IDE.
ex; if I had selected the time as 5 mins. so after counting 60secs, time should decrement by one min. ie.e4,3,2..0. how to do it?
I want to display the time on LCD board. please give me suggestions on regarding this.

推荐答案

定时器通常比较简单,您应该研究文档然后编码应该是直截了当的。请注意,您可以在专用于此类微控制器的论坛上找到更好的帮助(可能您也可以找到MCU制造商发布的应用说明)。
Timers are usually relatively simple to program, you should study the documentation and then coding should be straightforward. Please note, you might find better help on forum dedicated on such a microcontroller (possibly you may also find application notes published by the MCU manufacturer).


这篇关于我如何在LPC1115控制器中使用定时器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆