文件名称:RTC-set-the-clock-and-display

  • 所属分类:
  • 微处理器(ARM/PowerPC等)
  • 资源属性:
  • [C/C++] [源码]
  • 上传时间:
  • 2012-11-26
  • 文件大小:
  • 473kb
  • 下载次数:
  • 0次
  • 提 供 者:
  • 荣**
  • 相关连接:
  • 下载说明:
  • 别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容均来自于网络,请自行研究使用

RTC时钟源为外部低速时钟,且外部低速时钟源的64分之一Tamper引脚(PC.13)上输出。



通过秒中断功能,在LED1(GPIO_Pin_0)上以2s为周期闪烁,并以1s为周期通过USART送出时间信息

(在串口调试软件上以24小时时间制显示)



USART1设置:波特率:9600

数据位:8

停止位:1

奇偶校验位:无

硬件流控制:无



注:编译时,Library Configuration应选为FULL,以使C库函数fputc映射到USART的函数能被编译通过。



从串口输入‘S’(大写的字母S),则进入时间设置模式,

-USART1 Settings: baud rate: 9600

Data bits: 8

Stop bits: 1

Parity: no

Hardware flow control: no



Note: compile time, Library Configuration elected for FULL, in order to make C Library function fputc mapped to the function can be compiled USART through.



S input from a serial port (uppercase letter S), into the time set mode,


(系统自动生成,下载前可以参看下载内容)

下载文件列表

RTC set the clock and display

.............................\library

.............................\.......\inc

.............................\.......\...\cortexm3_macro.h

.............................\.......\...\stm32f10x_adc.h

.............................\.......\...\stm32f10x_bkp.h

.............................\.......\...\stm32f10x_can.h

.............................\.......\...\stm32f10x_crc.h

.............................\.......\...\stm32f10x_dac.h

.............................\.......\...\stm32f10x_dbgmcu.h

.............................\.......\...\stm32f10x_dma.h

.............................\.......\...\stm32f10x_exti.h

.............................\.......\...\stm32f10x_flash.h

.............................\.......\...\stm32f10x_fsmc.h

.............................\.......\...\stm32f10x_gpio.h

.............................\.......\...\stm32f10x_i2c.h

.............................\.......\...\stm32f10x_iwdg.h

.............................\.......\...\stm32f10x_lib.h

.............................\.......\...\stm32f10x_map.h

.............................\.......\...\stm32f10x_nvic.h

.............................\.......\...\stm32f10x_pwr.h

.............................\.......\...\stm32f10x_rcc.h

.............................\.......\...\stm32f10x_rtc.h

.............................\.......\...\stm32f10x_sdio.h

.............................\.......\...\stm32f10x_spi.h

.............................\.......\...\stm32f10x_systick.h

.............................\.......\...\stm32f10x_tim.h

.............................\.......\...\stm32f10x_type.h

.............................\.......\...\stm32f10x_usart.h

.............................\.......\...\stm32f10x_wwdg.h

.............................\.......\src

.............................\.......\...\stm32f10x_adc.c

.............................\.......\...\stm32f10x_bkp.c

.............................\.......\...\stm32f10x_can.c

.............................\.......\...\stm32f10x_crc.c

.............................\.......\...\stm32f10x_dac.c

.............................\.......\...\stm32f10x_dbgmcu.c

.............................\.......\...\stm32f10x_dma.c

.............................\.......\...\stm32f10x_exti.c

.............................\.......\...\stm32f10x_flash.c

.............................\.......\...\stm32f10x_fsmc.c

.............................\.......\...\stm32f10x_gpio.c

.............................\.......\...\stm32f10x_i2c.c

.............................\.......\...\stm32f10x_iwdg.c

.............................\.......\...\stm32f10x_lib.c

.............................\.......\...\stm32f10x_nvic.c

.............................\.......\...\stm32f10x_pwr.c

.............................\.......\...\stm32f10x_rcc.c

.............................\.......\...\stm32f10x_rtc.c

.............................\.......\...\stm32f10x_sdio.c

.............................\.......\...\stm32f10x_spi.c

.............................\.......\...\stm32f10x_systick.c

.............................\.......\...\stm32f10x_tim.c

.............................\.......\...\stm32f10x_usart.c

.............................\.......\...\stm32f10x_wwdg.c

.............................\project

.............................\.......\EWARM

.............................\.......\.....\cortexm3_macro.s

.............................\.......\.....\Debug

.............................\.......\.....\.....\Exe

.............................\.......\.....\.....\...\RTC.d79

.............................\.......\.....\.....\...\RTC.elf

.............................\.......\.....\.....\...\RTC.hex

.............................\.......\.....\.....\...\RTC.sim

.............................\.......\.....\.....\List

.............................\.......\.....\.....\....\main.lst

.............................\.......\.....\.....\....\RTC.map

.............................\.......\.....\.....\....\stm32f10x_bkp.lst

.............................\.......\.....\.....\....\stm32f10x_flash.lst

.............................\.......\.....\.....\....\stm32f10x_gpio.lst

.............................\.......\.....\.....

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度更多...
  • 请直接用浏览器下载本站内容,不要使用迅雷之类的下载软件,用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*主  题:
*内  容:
*验 证 码:

源码中国 www.ymcn.org