文件名称:RTC
-
所属分类:
- 标签属性:
- 上传时间:2013-08-02
-
文件大小:130.87kb
-
已下载:2次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
7. RTC程序设计与电路仿真
运用LPC2138内部RTC的实时时钟显示年、月、日、星期和时间。
定义74HC595的片选端口、开关端口。运用PINSEL0、PINSEL1寄存器设置SPI引脚的EINT0连接,运用IO0DIR寄存器设置控制口输出,初始化SPI接口,设置主机时钟分频、接口模式。设置中断为边沿触发模式、下降沿触发模式。设置所有中断匹配为IRQ中断,IRQ使能服务地址,然后通过使能EINT3允许IRQ中断,分别显示年、月、日、星期、时、分、秒的数据信息。
-7. RTC program design and circuit simulation using LPC2138 internal RTC real time clock display year, month, day, week and time. Definition 74HC595 chip select port, the switch port. Use PINSEL0, PINSEL1 register settings SPI pins EINT0 connection, using IO0DIR control port output register is set to initialize the SPI interface, set the master clock frequency, interface mode. Set the interrupt is edge-triggered mode, the falling edge trigger mode. Set all matches for the IRQ interrupt interrupt, IRQ enable service address, and then by enabling EINT3 allow IRQ interrupts, respectively, show the year, month, day, week, hours, minutes, seconds of data information.
运用LPC2138内部RTC的实时时钟显示年、月、日、星期和时间。
定义74HC595的片选端口、开关端口。运用PINSEL0、PINSEL1寄存器设置SPI引脚的EINT0连接,运用IO0DIR寄存器设置控制口输出,初始化SPI接口,设置主机时钟分频、接口模式。设置中断为边沿触发模式、下降沿触发模式。设置所有中断匹配为IRQ中断,IRQ使能服务地址,然后通过使能EINT3允许IRQ中断,分别显示年、月、日、星期、时、分、秒的数据信息。
-7. RTC program design and circuit simulation using LPC2138 internal RTC real time clock display year, month, day, week and time. Definition 74HC595 chip select port, the switch port. Use PINSEL0, PINSEL1 register settings SPI pins EINT0 connection, using IO0DIR control port output register is set to initialize the SPI interface, set the master clock frequency, interface mode. Set the interrupt is edge-triggered mode, the falling edge trigger mode. Set all matches for the IRQ interrupt interrupt, IRQ enable service address, and then by enabling EINT3 allow IRQ interrupts, respectively, show the year, month, day, week, hours, minutes, seconds of data information.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
RTC/
RTC/CONFIG.H
RTC/HEAP.S
RTC/IRQ.S
RTC/LPC2138.H
RTC/Last Loaded RTC.DBK
RTC/RTC.DSN
RTC/RTC.Opt
RTC/RTC.PWI
RTC/RTC.Uv2
RTC/RTC.axf
RTC/RTC.hex
RTC/RTC.htm
RTC/RTC.lnp
RTC/RTC.map
RTC/RTC.plg
RTC/RTC.sct
RTC/RTC.tra
RTC/RTC_Opt.Bak
RTC/RTC_Target 1.dep
RTC/RTC_Uv2.Bak
RTC/STACK.S
RTC/Startup.lst
RTC/Startup.o
RTC/Startup.s
RTC/TARGET.C
RTC/TARGET.H
RTC/main.c
RTC/main.crf
RTC/main.d
RTC/main.i
RTC/main.o
RTC/main.txt
RTC/CONFIG.H
RTC/HEAP.S
RTC/IRQ.S
RTC/LPC2138.H
RTC/Last Loaded RTC.DBK
RTC/RTC.DSN
RTC/RTC.Opt
RTC/RTC.PWI
RTC/RTC.Uv2
RTC/RTC.axf
RTC/RTC.hex
RTC/RTC.htm
RTC/RTC.lnp
RTC/RTC.map
RTC/RTC.plg
RTC/RTC.sct
RTC/RTC.tra
RTC/RTC_Opt.Bak
RTC/RTC_Target 1.dep
RTC/RTC_Uv2.Bak
RTC/STACK.S
RTC/Startup.lst
RTC/Startup.o
RTC/Startup.s
RTC/TARGET.C
RTC/TARGET.H
RTC/main.c
RTC/main.crf
RTC/main.d
RTC/main.i
RTC/main.o
RTC/main.txt
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.