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
================================================================================
功能描述:
此样例演示了TIM1比较模式下的OC翻转输出功能使能CH1(PA08),CH2(PA09),CH3(PA10),
CH4(PA11)四个通道的输出功能并且当计数器TIMx_CNT与TIMx_CCRx匹配时输出信号翻转
频率为100KHz。

Function descriptions:
This sample demonstrates the OC toggle output function in TIM1 comparison mode, 
enabling CH1(PA08),CH2(PA09),CH3(PA10),CH4(PA11) four channel output function, 
then the output signal toggle when the counter TIMx_CNT matches TIMx_CCRx.
The frequency is 100KHz
================================================================================
测试环境:
测试用板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. 用示波器监测PA08/PA09/PA10/PA11引脚可观察到与程序中配置相匹配的PWM波形

Example execution steps:
1. compile and download the program to MCU and run it;
2. By monitoring PA08/PA09/PA10/PA11 pin with oscilloscope, the PWM waveform 
matching the configuration in the program can be observed;
================================================================================
注意事项:

Notes:

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