登录
首页 » c » STM32,待机,唤醒,C,嵌入式

STM32,待机,唤醒,C,嵌入式

于 2023-07-15 发布 文件大小:110.92 kB
0 119
下载积分: 2 下载次数: 1

代码说明:

开发平台: STM32F103ZET6 程序功能: 硬件资源: 1,DS0(连接在PB5),DS1(连接在PE5) 2,按键KEY0(PE4)/KEY1(PE3)/KEY2(PE2)/KEY_UP(PA0,也称之为WK_UP) 3,串口1(波特率:115200,PA9/PA10连接在板载USB转串口芯片CH340上面) 4,串口3(波特率:115200,PB10/PB11) 5,通用定时器3、通用定时器5 实验现象: 可以看到 DS0 不停的闪烁,提示程序已经在运行了。同时 可以看到 TFTLCD 模块开始显示时间, 如果时间和日期不正确,可以利用上一章介绍的 usmart 工具,通过串口来设置,并且可以 设置闹钟时间等,通过 USMART 设置时间和日期并测试闹钟,可以看到,通过 RTC_Alarm_Set  设置闹钟时间,并等待闹铃时间到了以后,串口返回了 Alarm Time:2018-10-30 20:30:52 的字符串,说明我们的闹钟运行正常!达到了预期的效果! 注意事项: 无.

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • PowerFlow
    现代电力系统分析书后PQ分解潮流计算程序(Modern power system analysis book PQ decomposition flow calculation procedures)
    2013-11-17 22:27:34下载
    积分:1
  • 局域网即时通信软件
    说明:  在Ubuntu实现点对点通信、点对多通信及tcp、udp文件收发(Point to point communication, point to many communication, TCP and UDP file sending and receiving in Ubuntu)
    2021-03-17 12:59:21下载
    积分:1
  • Necessary-60-matlab-code
    ~~~~~~~为初级学者使用的遗传算法~~~~~~~~~~~~(Genetic Algorithms for Primary learner)
    2012-04-29 15:19:46下载
    积分:1
  • Seconds_simulation_program_c_source
    秒针模拟程序c源码Seconds simulation program c source(Seconds simulation program c source Seconds simulation program c source)
    2010-08-05 03:58:09下载
    积分:1
  • SDWebImage_10803
    及时通信,及时通信,及时通信,及时通信,及时通信,(Timely communication, timely communication, timely communication, timely communication, timely communication,)
    2013-12-23 15:53:39下载
    积分:1
  • Unity www动态加载AB并且可以版本校验,缓存本地 简单库
    Unity www动态加载AB并且可以版本校验,缓存本地 简单库
    2022-03-20 12:29:10下载
    积分:1
  • FreeRTOS_HR8P506-master
    说明:  32位单片机HR8P506上运行FreeRTOS,HR8P506是一款Cortex-m0内核的国产单片机,支持2.5-5.5V的宽电压,36KB Flash和8KB SRAM能够满足绝大多数的应用开发。(32-bit MCU HR8P506 runs FreeRTOS. HR8P506 is a domestic MCU with cortex-m0 kernel, which supports a wide voltage of 2.5-5.5v, 36KB Flash and 8KB SRAM which can meet most application development.)
    2020-06-24 03:00:02下载
    积分:1
  • FILEDLG
    用WIN SDK 控制文件对话框.基于WINDOWS API(control file dialog with WIN SDK .based windows api)
    2012-06-01 20:00:45下载
    积分:1
  • EOSApp
    1)设计一程序,由一个进程创建三个子进程,三个子进程一个是生产者进程,两个是消费者进程。 2)父子进程都使用父进程创建的共享存储区进行通信,由生产者进程将一个数组中的十个数值发送到由5个缓冲区组成的共享内存中。? 3)两个消费者进程轮流接收并输出这十个数值,同时将两个消费者进程读出的数值进行累加求各和。 4)考虑生产者进程生产的速度和消费者进程速度。(1) a program is designed to create three sub processes from one process, three sub processes is the producer process, and the two is the consumer process. 2) the father child process communicates with the shared storage area created by the parent process, and sends ten values in one array to the shared memory composed of 5 buffers by the producer process. L 3) the two consumer processes take turns to receive and output the ten values, and add values to each of the two consumer processes. 4) take into account the production speed of the producer process and the speed of the consumer process.)
    2020-12-23 09:19:08下载
    积分:1
  • APM飞控结构及自稳模式讲解
    讲解了apm基本的核心飞控结构,以及其自稳模式的主要流程
    2022-04-02 00:58:32下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载