- STM32F_Key-Input ST公司的ARM STM32F103R8T6的按键输入程序
- SPHIT-Ridgelet SPIHT with Ridgelet. this is the MATLAB program
- DE2_115_TV This an application of FPGA which wrote by Altera. It can be used for interfacing VGA
- BS an amaizing source code for motion detection system
- xmport Most of us know about reflection (Example Windows COM
- brogram-clock I designed my own clock program
文件名称:Timer32BitRTC
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:11.92kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
基于《Stellaris外设驱动库》的例程:定时器32位RTC用法示例(32.768kHz振荡信号从CCP2管脚输入,RTC时钟从UART2输出)
本实验程序演示了如何使用定时器配置为32为RTC模式,并使用RTC定时器产生匹配中断。每次进入中断函数中由串口发送显示一次当前时间,初始时间假设为9:58:40。
本实验需要一个32.768kHz的RTC时钟源,本范例把TIMER0A配置成了16位PWM模式,利用CCP0脚输出频率大致为32768Hz的PWM波,免去了用户外接32768晶振的麻烦。调试时,只需把PB0和PB1短接就可以。
-Based on " Stellaris peripheral driver library" of routines: 32-bit RTC timer usage examples (32.768kHz oscillation signal input from the CCP2 pin, RTC clock output from the UART2) The experimental procedure to demonstrate how to use the timer is configured to 32 for the RTC mode, and use the RTC timer interrupt generated match. Into the interrupt function for each serial port to send shows from a current time, the initial time is assumed to be 9:58:40. This experiment requires a 32.768kHz clock source of the RTC, the example of the configuration TIMER0A become 16-bit PWM mode, the use of foot CCP0 roughly 32768Hz output frequency of PWM wave, which eliminates the user the trouble of external 32768 crystal. When debugging, you just need to PB0 and PB1 can be shorted.
本实验程序演示了如何使用定时器配置为32为RTC模式,并使用RTC定时器产生匹配中断。每次进入中断函数中由串口发送显示一次当前时间,初始时间假设为9:58:40。
本实验需要一个32.768kHz的RTC时钟源,本范例把TIMER0A配置成了16位PWM模式,利用CCP0脚输出频率大致为32768Hz的PWM波,免去了用户外接32768晶振的麻烦。调试时,只需把PB0和PB1短接就可以。
-Based on " Stellaris peripheral driver library" of routines: 32-bit RTC timer usage examples (32.768kHz oscillation signal input from the CCP2 pin, RTC clock output from the UART2) The experimental procedure to demonstrate how to use the timer is configured to 32 for the RTC mode, and use the RTC timer interrupt generated match. Into the interrupt function for each serial port to send shows from a current time, the initial time is assumed to be 9:58:40. This experiment requires a 32.768kHz clock source of the RTC, the example of the configuration TIMER0A become 16-bit PWM mode, the use of foot CCP0 roughly 32768Hz output frequency of PWM wave, which eliminates the user the trouble of external 32768 crystal. When debugging, you just need to PB0 and PB1 can be shorted.
相关搜索: 32bit timer
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Timer32BitRTC/调试说明.txt
Timer32BitRTC/Timer_32Bit_RTC/Demo.dep
Timer32BitRTC/Timer_32Bit_RTC/Demo.ewd
Timer32BitRTC/Timer_32Bit_RTC/Demo.ewp
Timer32BitRTC/Timer_32Bit_RTC/Demo.eww
Timer32BitRTC/Timer_32Bit_RTC/LM3S1138_PinMap.H
Timer32BitRTC/Timer_32Bit_RTC/UART_GetPut.C
Timer32BitRTC/Timer_32Bit_RTC/UART_GetPut.H
Timer32BitRTC/Timer_32Bit_RTC/main.c
Timer32BitRTC/Timer_32Bit_RTC/startup_ewarm.c
Timer32BitRTC/Timer_32Bit_RTC
Timer32BitRTC
Timer32BitRTC/Timer_32Bit_RTC/Demo.dep
Timer32BitRTC/Timer_32Bit_RTC/Demo.ewd
Timer32BitRTC/Timer_32Bit_RTC/Demo.ewp
Timer32BitRTC/Timer_32Bit_RTC/Demo.eww
Timer32BitRTC/Timer_32Bit_RTC/LM3S1138_PinMap.H
Timer32BitRTC/Timer_32Bit_RTC/UART_GetPut.C
Timer32BitRTC/Timer_32Bit_RTC/UART_GetPut.H
Timer32BitRTC/Timer_32Bit_RTC/main.c
Timer32BitRTC/Timer_32Bit_RTC/startup_ewarm.c
Timer32BitRTC/Timer_32Bit_RTC
Timer32BitRTC
1999-2046 搜珍网 All Rights Reserved.
本站作为网络服务提供者,仅为网络服务对象提供信息存储空间,仅对用户上载内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。
