================================================================================
                                样例使用说明
                             Sample Description
================================================================================
功能描述：
该样例演示了ACMP中断功能。P端：PD12，N端：DAC 1.5V，旋转开发板上的滑动电阻器R11，当比
较结果产生上升沿或下降沿中断时，LED2翻转一次。LED1每个1s翻转一次。

Function descriptions:
This example demonstrates the ACMP interrupt function. P-end: PD12, N-end: DAC 
1.5V, sliding resistor R11 on the rotating development board, when compared to
When there is an interruption in the rising or falling edge of the result, LED2 
state flip. Flip LED1 once every 1 second.
================================================================================
测试环境：
测试用板：DPM32M087RBTx_EVB V1.0
MDK版本： 5.28

Test environment:
Test board: DPM32M087RBTx_EVB V1.0
MDK Version: 5.28
================================================================================
使用步骤：
1. 接上P2上的PD12跳线帽，将PD12接到滑动变阻器。
2. 编译下载程序到MCU，并运行。
3. 可观察到开发板上的LED1每隔1s翻转一次。
4. 旋转的滑动变阻器R11，每产生一个上升下降沿，LED2翻转一次。

Example execution steps:
1. Connect the PD12 jumper cap on P2 and connect the PD12 to the sliding resistor.
2. Compile and download the program to MCU, and run it.
3. It can be observed that LED1 on the development board flips every 1 second.
4. The rotating sliding rheostat R11 generates a rising and falling edge, Flip 
LED2 once.
================================================================================
注意事项：
LED引脚如下：
LED1       -> PC10
LED2       -> PC11

ACMP引脚如下：
ACMP_IN4   -> PD12

Notes:
The LED pins are as follows:
LED1       -> PC10
LED2       -> PC11

The ACMP pins are as follows:
ACMP_IN4   -> PD12
================================================================================