================================================================================
                                样例使用说明
                             Sample Description
================================================================================
功能描述：
此样例演示了COMP比较器轮询功能，PA1作为比较器正端输入，1/2VREFBUF作为比较器负端输
入，当PA1的电压大于1/2VREFBUF电压时，LED灯亮，小于1/2VREFBUF电压时,LED灯灭。

Function descriptions:
This example demonstrates the polling function of the COMP comparator, with
PA1 as the positive input and 1/2VREFBUF as the negative input. When the voltage
of PA1 is greater than 1/2VREFBUF voltage, the LED lights up, and when it is less
than 1/2VREFBUF voltage, the LED lights out.
================================================================================
测试环境：
测试用板：PY32F032_STK
MDK版本： 5.28
IAR版本： 9.20
GCC 版本：GNU Arm Embedded Toolchain 10.3-2021.10

Test environment:
Test board: PY32F032_STK
MDK Version: 5.28
IAR Version: 9.20
GCC Version: GNU Arm Embedded Toolchain 10.3-2021.10
================================================================================
使用步骤：
1. 编译下载程序到MCU，并运行；
2. 配置PA1输入1.00V电压，LED灯灭
3. 配置PA1输入1.05V电压, LED灯亮

Example execution steps:
1.Compile and download the program to MCU and run it;
2.Configure PA1 input voltage of 1.00V, LED light off
3.Configure PA1 input voltage of 1.05V, LED light on
================================================================================
注意事项：

Notes:

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