================================================================================
                                样例使用说明
                             Sample Description
================================================================================
功能描述：
该样例演示了POSIF模块的编码器功能使用配置，获取脉冲计数器值，配置脉冲控制溢出中断、最大位置中断
LED1每隔1s翻转一次。

Function descriptions:
The Max position interrupt flag example demonstrates the configuration of the POSIF module's encoder function, 
obtaining the pulse counter value, and configuring the pulse control overflow interrupt and maximum position interrupt
LED1 flips every 1 second.
================================================================================
测试环境：
测试用板：DPM32M087RBTx_EVB V1.0
MDK版本： 5.28

Test environment:
Test board: DPM32M087RBTx_EVB V1.0
MDK Version: 5.28
================================================================================
使用步骤：
1. 编译下载程序到MCU，并运行。
2. 可观察到开发板上的LED1每隔1s翻转一次。
3. 通过PA2、PA3、PA4获取编码器信号

Example execution steps:
1. Compile and download the program to MCU, and run it.
2. It can be observed that LED1 on the development board flips every 1 second.
3. Obtain encoder signals through PA2, PA3, PA4
================================================================================
注意事项：
LED引脚如下：
LED1       -> PC10
LED2       -> PC11
LED3       -> PC12

编码器引脚如下：
PA2、PA3、PA6

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

The encoder pins are as follows:
PA2、PA3、PA6
================================================================================