﻿1、功能说明
    1、ADC1采样转换PA6 PA7 PA0_C PA1_C 引脚的模拟电压
    2、采用软件触发一次，采集一次的方式

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选择为模拟功能
            模拟开关PA0_C打开，用于ADC1_INN1
            模拟开关PA1_C打开，用于ADC1_INP1
        4、ADC：
            ADC1独立工作模式、软件触发转换、12位数据右对齐，转换PA6 PA7 PA0_C PA1_C 的模拟电压数据

    使用方法：
        1、编译后打开调试模式，将变量ADC1ConvertedValue添加到watch窗口观察
        2、通过改变PA6,PA7P,A0_C,PA1_C 引脚的电压，可以看到转换结果变量同步改变

4、注意事项
    无
    
1. Function description

    1, ADC1 sample conversion PA6 PA7 PA0_C PA1_C pin analog voltage
    2、Using software to trigger once, the acquisition of a way.

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
            Analog switch PA0_C is turned on for ADC1_INN1
            Analog switch PA1_C is turned on for ADC1_INP1
        4. ADC:
            ADC1 independent working mode, software-triggered conversion, 12-bit data is right-aligned, and analog voltage data of PA6 PA7 PA0_C PA1_C is converted.
			
Usage:
    1, After compiling, download the program of CM7 and CM4 projects respectively and reset, open the debugging mode of core M7, the variable ADC1ConvertedValue added to the watch window to observe
    2, By changing the voltage of PA6,PA7,PA0_C,PA1_C  pin, you can see the conversion results of variable synchronization change
	
4. Attention
    None

