================================================================================
                                样例使用说明
                             Sample Description
================================================================================
功能描述：
此样例演示了ACMP的反电动势检测功能，初始化ACMP0的输入通道0、1、2，作为星形电阻的输入端，开启反电动势电阻使能与ACMP0使能。
ADC采样BEMFR中心电阻电压值。

Function descriptions:
This sample demonstrates the back electromotive force (EMF) detection function of the Analog Comparator (ACMP). 
Initialize input channels 0, 1, and 2 of ACMP0 as the input terminals of the star resistor, and enable the back EMF resistor and ACMP0.
The ADC samples the voltage value of the central resistance of BEMFR.
================================================================================
测试环境：
测试用板：DPM32M030_REV_A
MDK版本： 5.28

Test environment:
Test board: DPM32M030_REV_A
MDK Version: 5.28
================================================================================
使用步骤：
1. 编译下载程序到MCU，并运行。
2. 通过ADC采样BEMFR中心点电压

Example execution steps:
1. Compile and download the program to MCU, and run it.
2. The voltage at the center point can be sampled through the ADC (Analog-to-Digital Converter).
================================================================================
注意事项：
ACMP引脚如下：
ACMP_IN0   -> PA4
ACMP_IN1   -> PA5
ACMP_IN2   -> PD6

Notes:
The UART pins are as follows:
ACMP_IN0   -> PA4
ACMP_IN1   -> PA5
ACMP_IN2   -> PD6
================================================================================