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的三通道异或输入捕获功能。配置PA8、PA9、PA10为通道1、通道2、通道3
的输入引脚。每当有一个引脚电平变化时会触发捕获中断并在中断处理中翻转LED。

Function descriptions:
This sample demonstrates the XOR input capture functionality of TIM1 using three 
channels: PA8, PA9, and PA10 as the input pins for channel 1, channel 2, and 
channel 3, respectively. Whenever there is a change in the level of any of the 
input pins, it triggers the capture interrupt and toggles the LED in the 
interrupt handler.
================================================================================
测试环境:
测试用板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. 编译下载程序到MCU并运行
2. PA8/PA9/PA10保持任意两个引脚电平不变当剩下一引脚电平变化时LED翻转

Example execution steps:
1.Compile and download the program to the MCU, and then run it.
2.Keep the level of any two pins(PA8/PA9/PA10) unchanged, and when the level of the 
remaining pin changes, the LED will toggle.
================================================================================
注意事项:

Notes:

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