You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
DeveloperAlpha 48b48663ce -u origin main 3 months ago
..
EIDE -u origin main 3 months ago
EWARM -u origin main 3 months ago
Inc -u origin main 3 months ago
MDK-ARM -u origin main 3 months ago
Src -u origin main 3 months ago
readme.txt -u origin main 3 months ago

readme.txt

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

================================================================================
                                样例使用说明
                                Sample Description
================================================================================
功能描述:
定时器1的使能由定时器3控制当定时器3计数时LED会常亮当定时器3发生更新事件时
更新事件会触发定时器1定时器1开始计数后LED会以5Hz的频率进行翻转。

Function descriptions:
The enable of TIM1 is controlled by TIM3. When TIM3 counts, the LED will be 
steady on. The update event generated by TIM3 will triggers TIM1, and when TIM1 
starts counting, the LED is toggled at a frequency of 5Hz
================================================================================
测试环境:
测试用板PY32F403_STK
MDK版本 5.28
IAR版本 9.20
GCC版本GNU Arm Embedded Toolchain 10.3-2021.10

Test environment:
Test board: PY32F403_STK
MDK Version: 5.28
IAR Version: 9.20
GCC Version: GNU Arm Embedded Toolchain 10.3-2021.10
================================================================================
使用步骤:
1. 下载程序并运行;
2. 运行程序在仿真模式下查看TIM1先不会计数,当TIM3发生更新事件后
TIM1开始计数
3. TIM1开始计数后LED会以5Hz的频率进行翻转

Example execution steps:
1. compile and download the program to MCU and run it;
2. Run the program and check it in debug mode. TIM1 will not count first.
After an update event occurs in TIM3,TIM1 starts counting
3. After TIM1 starts counting, the LED will flip at a frequency of 5Hz
================================================================================
注意事项:

Notes:

================================================================================