1、功能说明
    此例程演示了DSMU如何对MCU内置ADC采样数据进行滤波和过采样。

    
2、使用环境
    软件开发环境： KEIL MDK-ARM V5.34
                IAR EWARM 8.50.1

    芯片支持：
        N32H730  
        N32H735   
        N32H735EC
        N32H760
        N32H762
        N32H765
        N32H765EC
        N32H785
        N32H785EC
        N32H787

3、使用说明
    系统配置；
        1、时钟源： HSI+PLL
        2、系统时钟频率： 600MHz
        3、GPIO：PI15-ADC2通道17
        4、打印：PA9 - baud rate 115200

   
    使用方法：
        1、编译后烧录到开发板N32H787_EVB_PRO，复位MCU。
        2、通过串口输出运行信息,显示PI15电压。
        3、调节变阻器RP1，复位运行，显示更新后的PI15电压。

4、注意事项
    1、通过DSMU滤波会大幅降低最终数据的采样率。
    2、DSMU仅支持对1个ADC规则通道进行数据滤波。
    
    
1. Function description
    This example shows how to filter and oversample the internal ADC data by DSMU.

2. Development environment
    Software development environment: KEIL MDK-ARM V5.34
                                      IAR EWARM 8.50.1

    Supported chips:
        N32H730  
        N32H735   
        N32H735EC
        N32H760
        N32H762
        N32H765
        N32H765EC
        N32H785
        N32H785EC
        N32H787

3. How to use
    System Configuration:
        1. Clock source: HSI+PLL
        2. System Clock frequency: 600MHz
        3. GPIO: PI15-ADC2 channel17
        4. printf: PA9 - baud rate 115200

    Instructions:
        1. Compile the programme, and download to the evaluation board, then reset MCU.
        2. The running informations are output through the serial port,and the voltage of PI15 is also displayed.
        3. Adjust the variable resistor RP1, reset and run, and display the updated voltage of PI15.

4. Attention
    1. Filtering through DSMU will significantly reduce the sampling rate of the final data.
    2. DSMU only supports data filtering for 1 regular channel of ADC.