1、功能说明
    1、ADC1开启过采样的条件下进行采样、转换PA6,PA7引脚的模拟电压
    2、其中ADC1转换结果通过DMA1_CH0通道读取到变量ADC1ConvertedValue[10]

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、系统时钟频率：
            M7核 600MHz 
            
        3、端口配置：
            PA6选择为模拟功能
            PA7选择为模拟功能
        4、DMA：
            DMA1_CH0通道回环模式搬运一个半字的ADC1转换结果到ADC1ConvertedValue[10]变量
            
        5、ADC：
            ADC1独立工作模式、软件触发转换、12位数据右对齐，转换PA6,PA7 的模拟电压数据,过采样系数x2 无右移,在规则通道上使用过采样连续模式.

    使用方法：
        1、编译后将CM7和CM4的工程程序分别下载到开发板并复位运行,打开调试模式，将变量ADC1ConvertedValue添加到watch窗口观察
        2、通过改变PA6,PA7引脚的电压Voltage，可以看到转换结果变量同步改变，数据寄存器的结果Result = Voltage * 2* 4095/3.3
        
4、注意事项
    无
    
1. Function description

    1, ADC1 performs sampling under the condition that oversampling  is enabled and converts the analog voltage of the PA6,PA7 pin;
    2. The ADC1 conversion result is read to the variable ADC1ConvertedValue[10] through the DMA1_CH1 channel.

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: 
            M7 Core：600MHz 
            
        3. Port configuration:
            PA6 is selected as the analog function
            PA7 is selected as the analog function
4. DMA:
     DMA1_CH0 channel loopback mode transfers a halfword of ADC1 conversion result to ADC1ConvertedValue[10] variable
     
5. ADC:
     ADC1 independent working mode, software-triggered conversion, 12-bit data is right-aligned, and analog voltage data of PA6 is converted.
     conversion the analog voltage data of PA6 PA7,The oversampling factor x2 , no right shift and the oversampling continuous mode on the regular channel .
Usage:
    1, After compiling, download the program  and reset, open the debugging mode, the variable ADC1ConvertedValue added to the watch window to observe
    2, By changing the voltage (Voltage) of the PA6,PA7 pin, you can see that the conversion result variable changes synchronously. the data register result = Voltage * 2 * 4095/3.3.


4. Attention
    None

