【STM32】标准库-RTC

上传者: 45607873 | 上传时间: 2023-03-06 09:36:24 | 文件大小: 609KB | 文件类型: ZIP
采用STM32F429IGT6单片机,KeilMDK5.32版本 使用SysTick系统滴答定时器进行延时 LED_R、LED_G、LED_B分别为PH10,PH11,PH12 Key1为PA0,Key2为PC13 KEIL5下载配置有FLASH与SRAM 使用RTC实时时钟,可以使用串口接收来修改RTC的值(在调试模式下) RTC使用LSE(32.678KHz) RTC使用BCD码,配置与输出的时候需要使用16进制 在串口接收中断服务函数中,串口接收到数据则进入待机模式,外部中断触发则从待机模式下退出,从待机模式中唤醒等同于复位。 注意点:需要置位PWR 电源控制/状态寄存器 (PWR_CSR)中的EWUP才能使用PA0使得从待机模式下唤醒;进入待机模式前,需要清除WUF标志位

文件下载

资源详情

[{"title":"( 124 个子文件 609KB ) 【STM32】标准库-RTC","children":[{"title":"stm32f4xx_rtc.h <span style='color:#111;'> 39.50KB </span>","children":null,"spread":false},{"title":"stm32f4xx_pwr.h <span style='color:#111;'> 8.92KB </span>","children":null,"spread":false},{"title":"stm32f4xx_hash.h <span style='color:#111;'> 9.38KB </span>","children":null,"spread":false},{"title":"stm32f4xx_cec.h <span style='color:#111;'> 11.68KB </span>","children":null,"spread":false},{"title":"stm32f4xx_spi.h <span style='color:#111;'> 20.21KB </span>","children":null,"spread":false},{"title":"stm32f4xx_dbgmcu.h <span style='color:#111;'> 3.73KB </span>","children":null,"spread":false},{"title":"stm32f4xx_tim.h <span style='color:#111;'> 50.01KB </span>","children":null,"spread":false},{"title":"stm32f4xx_dma2d.h <span style='color:#111;'> 18.77KB </span>","children":null,"spread":false},{"title":"stm32f4xx_dcmi.h <span style='color:#111;'> 12.21KB </span>","children":null,"spread":false},{"title":"stm32f4xx_sdio.h <span style='color:#111;'> 21.78KB </span>","children":null,"spread":false},{"title":"stm32f4xx_dsi.h <span style='color:#111;'> 40.01KB </span>","children":null,"spread":false},{"title":"stm32f4xx_i2c.h <span style='color:#111;'> 30.72KB </span>","children":null,"spread":false},{"title":"stm32f4xx_fsmc.h <span style='color:#111;'> 26.08KB </span>","children":null,"spread":false},{"title":"stm32f4xx_qspi.h <span style='color:#111;'> 19.28KB </span>","children":null,"spread":false},{"title":"stm32f4xx_can.h <span style='color:#111;'> 26.73KB </span>","children":null,"spread":false},{"title":"stm32f4xx_dac.h <span style='color:#111;'> 14.13KB </span>","children":null,"spread":false},{"title":"stm32f4xx_flash.h <span style='color:#111;'> 24.03KB </span>","children":null,"spread":false},{"title":"stm32f4xx_exti.h <span style='color:#111;'> 7.46KB </span>","children":null,"spread":false},{"title":"stm32f4xx_wwdg.h <span style='color:#111;'> 2.99KB </span>","children":null,"spread":false},{"title":"stm32f4xx_lptim.h <span style='color:#111;'> 16.89KB </span>","children":null,"spread":false},{"title":"stm32f4xx_spdifrx.h <span style='color:#111;'> 10.55KB </span>","children":null,"spread":false},{"title":"stm32f4xx_dfsdm.h <span style='color:#111;'> 44.74KB </span>","children":null,"spread":false},{"title":"stm32f4xx_syscfg.h <span style='color:#111;'> 13.56KB </span>","children":null,"spread":false},{"title":"misc.h <span style='color:#111;'> 6.29KB </span>","children":null,"spread":false},{"title":"stm32f4xx_fmc.h <span style='color:#111;'> 43.40KB </span>","children":null,"spread":false},{"title":"stm32f4xx_adc.h <span style='color:#111;'> 31.76KB </span>","children":null,"spread":false},{"title":"stm32f4xx_ltdc.h <span style='color:#111;'> 20.22KB </span>","children":null,"spread":false},{"title":"stm32f4xx_dma.h <span style='color:#111;'> 27.73KB </span>","children":null,"spread":false},{"title":"stm32f4xx_fmpi2c.h <span style='color:#111;'> 18.31KB </span>","children":null,"spread":false},{"title":"stm32f4xx_flash_ramfunc.h <span style='color:#111;'> 2.73KB </span>","children":null,"spread":false},{"title":"stm32f4xx_rcc.h <span style='color:#111;'> 49.42KB </span>","children":null,"spread":false},{"title":"stm32f4xx_gpio.h <span style='color:#111;'> 28.11KB </span>","children":null,"spread":false},{"title":"stm32f4xx_sai.h <span style='color:#111;'> 27.11KB </span>","children":null,"spread":false},{"title":"stm32f4xx_cryp.h <span style='color:#111;'> 13.67KB </span>","children":null,"spread":false},{"title":"stm32f4xx_rng.h <span style='color:#111;'> 3.71KB </span>","children":null,"spread":false},{"title":"stm32f4xx_iwdg.h <span style='color:#111;'> 3.75KB </span>","children":null,"spread":false},{"title":"stm32f4xx_crc.h <span style='color:#111;'> 1.89KB </span>","children":null,"spread":false},{"title":"stm32f4xx_usart.h <span style='color:#111;'> 17.17KB </span>","children":null,"spread":false},{"title":"stm32f4xx_exti.c <span style='color:#111;'> 9.18KB </span>","children":null,"spread":false},{"title":"stm32f4xx_hash_md5.c <span style='color:#111;'> 8.90KB </span>","children":null,"spread":false},{"title":"stm32f4xx_hash_sha1.c <span style='color:#111;'> 9.10KB </span>","children":null,"spread":false},{"title":"stm32f4xx_rng.c <span style='color:#111;'> 14.00KB </span>","children":null,"spread":false},{"title":"stm32f4xx_rtc.c <span style='color:#111;'> 100.32KB </span>","children":null,"spread":false},{"title":"stm32f4xx_dcmi.c <span style='color:#111;'> 17.87KB </span>","children":null,"spread":false},{"title":"stm32f4xx_gpio.c <span style='color:#111;'> 24.17KB </span>","children":null,"spread":false},{"title":"stm32f4xx_fsmc.c <span style='color:#111;'> 44.61KB </span>","children":null,"spread":false},{"title":"stm32f4xx_fmpi2c.c <span style='color:#111;'> 56.18KB </span>","children":null,"spread":false},{"title":"stm32f4xx_sai.c <span style='color:#111;'> 47.91KB </span>","children":null,"spread":false},{"title":"stm32f4xx_tim.c <span style='color:#111;'> 121.34KB </span>","children":null,"spread":false},{"title":"stm32f4xx_cryp.c <span style='color:#111;'> 34.19KB </span>","children":null,"spread":false},{"title":"stm32f4xx_wwdg.c <span style='color:#111;'> 9.78KB </span>","children":null,"spread":false},{"title":"stm32f4xx_cryp_tdes.c <span style='color:#111;'> 10.05KB </span>","children":null,"spread":false},{"title":"stm32f4xx_spdifrx.c <span style='color:#111;'> 17.01KB </span>","children":null,"spread":false},{"title":"stm32f4xx_cryp_des.c <span style='color:#111;'> 9.31KB </span>","children":null,"spread":false},{"title":"stm32f4xx_dma.c <span style='color:#111;'> 51.21KB </span>","children":null,"spread":false},{"title":"stm32f4xx_crc.c <span style='color:#111;'> 3.04KB </span>","children":null,"spread":false},{"title":"stm32f4xx_dbgmcu.c <span style='color:#111;'> 6.18KB </span>","children":null,"spread":false},{"title":"stm32f4xx_cec.c <span style='color:#111;'> 23.72KB </span>","children":null,"spread":false},{"title":"stm32f4xx_dsi.c <span style='color:#111;'> 60.04KB </span>","children":null,"spread":false},{"title":"stm32f4xx_sdio.c <span style='color:#111;'> 37.58KB </span>","children":null,"spread":false},{"title":"stm32f4xx_iwdg.c <span style='color:#111;'> 8.66KB </span>","children":null,"spread":false},{"title":"stm32f4xx_adc.c <span style='color:#111;'> 66.98KB </span>","children":null,"spread":false},{"title":"stm32f4xx_pwr.c <span style='color:#111;'> 41.96KB </span>","children":null,"spread":false},{"title":"stm32f4xx_dac.c <span style='color:#111;'> 25.71KB </span>","children":null,"spread":false},{"title":"stm32f4xx_syscfg.c <span style='color:#111;'> 16.42KB </span>","children":null,"spread":false},{"title":"stm32f4xx_lptim.c <span style='color:#111;'> 33.21KB </span>","children":null,"spread":false},{"title":"stm32f4xx_dma2d.c <span style='color:#111;'> 26.06KB </span>","children":null,"spread":false},{"title":"stm32f4xx_qspi.c <span style='color:#111;'> 31.11KB </span>","children":null,"spread":false},{"title":"stm32f4xx_flash.c <span style='color:#111;'> 61.77KB </span>","children":null,"spread":false},{"title":"stm32f4xx_ltdc.c <span style='color:#111;'> 38.38KB </span>","children":null,"spread":false},{"title":"stm32f4xx_usart.c <span style='color:#111;'> 56.12KB </span>","children":null,"spread":false},{"title":"stm32f4xx_hash.c <span style='color:#111;'> 25.54KB </span>","children":null,"spread":false},{"title":"stm32f4xx_spi.c <span style='color:#111;'> 51.25KB </span>","children":null,"spread":false},{"title":"stm32f4xx_i2c.c <span style='color:#111;'> 52.88KB </span>","children":null,"spread":false},{"title":"stm32f4xx_fmc.c <span style='color:#111;'> 60.63KB </span>","children":null,"spread":false},{"title":"stm32f4xx_rcc.c <span style='color:#111;'> 133.49KB </span>","children":null,"spread":false},{"title":"stm32f4xx_flash_ramfunc.c <span style='color:#111;'> 4.85KB </span>","children":null,"spread":false},{"title":"stm32f4xx_cryp_aes.c <span style='color:#111;'> 56.18KB </span>","children":null,"spread":false},{"title":"misc.c <span style='color:#111;'> 10.71KB </span>","children":null,"spread":false},{"title":"stm32f4xx_dfsdm.c <span style='color:#111;'> 84.34KB </span>","children":null,"spread":false},{"title":"stm32f4xx_can.c <span style='color:#111;'> 64.72KB </span>","children":null,"spread":false},{"title":"LICENSE.txt <span style='color:#111;'> 4.63KB </span>","children":null,"spread":false},{"title":"Release_Notes.html <span style='color:#111;'> 123.19KB </span>","children":null,"spread":false},{"title":"keilkill.bat <span style='color:#111;'> 401B </span>","children":null,"spread":false},{"title":"ADC.h <span style='color:#111;'> 510B </span>","children":null,"spread":false},{"title":"TIM.h <span style='color:#111;'> 282B </span>","children":null,"spread":false},{"title":"CRC.h <span style='color:#111;'> 186B </span>","children":null,"spread":false},{"title":"USART.h <span style='color:#111;'> 1.10KB </span>","children":null,"spread":false},{"title":"Bitband.h <span style='color:#111;'> 1.95KB </span>","children":null,"spread":false},{"title":"LED.h <span style='color:#111;'> 267B </span>","children":null,"spread":false},{"title":"PWR.h <span style='color:#111;'> 697B </span>","children":null,"spread":false},{"title":"RTC.h <span style='color:#111;'> 188B </span>","children":null,"spread":false},{"title":"KEY&EXTI.h <span style='color:#111;'> 244B </span>","children":null,"spread":false},{"title":"TIM.c <span style='color:#111;'> 8.88KB </span>","children":null,"spread":false},{"title":"KEY&EXTI.c <span style='color:#111;'> 1.80KB </span>","children":null,"spread":false},{"title":"LED.c <span style='color:#111;'> 610B </span>","children":null,"spread":false},{"title":"ADC.c <span style='color:#111;'> 11.47KB </span>","children":null,"spread":false},{"title":"CRC.c <span style='color:#111;'> 123B </span>","children":null,"spread":false},{"title":"PWR.c <span style='color:#111;'> 3.98KB </span>","children":null,"spread":false},{"title":"USART.c <span style='color:#111;'> 6.52KB </span>","children":null,"spread":false},{"title":"......","children":null,"spread":false},{"title":"<span style='color:steelblue;'>文件过多,未全部展示</span>","children":null,"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明