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

2、使用环境

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

    芯片支持：
        N32H785
        N32H785xxxEC
        N32H787

3、使用说明
    系统配置；
        1、时钟源： HSI+PLL
        2、系统时钟频率：
              M7核:  600MHz   M4核 300MHz
        3、端口配置：
            PA6选择为模拟功能
            PA7选择为模拟功能
            
        4、ADC：
            ADC1独立工作模式、软件触发转换、12位数据右对齐，转换PA6 PA7的模拟电压数据

    使用方法：
        1、将78x的GPIO的LedBlink demo和当前CM4的工程程序分别编译后下载到开发板并复位运行
        2、打开调试模式，将变量ADC1ConvertedValue添加到watch窗口观察
        3、通过改变PA6,PA7引脚的电压，可以看到转换结果变量同步改变

4、注意事项
    无
    
1. Function description

    1, ADC1 sample conversion PA6 PA7 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:
        N32H785
        N32H785xxxEC
        N32H787

3. How to use
   System Configuration:
        1. Clock source: HSI+PLL
        2. System Clock frequency: 
            M7 core :  600MHz  M4 Core：300MHz
        3. Port configuration:
            PA6 is selected as the analog function
            PA7 is selected as the analog function
        4. ADC:
            ADC1 independent working mode, software-triggered conversion, 12-bit data is right-aligned, and analog voltage data of PA6 PA7 is converted.
            
Usage:
    1, Compile the LedBlink demo for 78x's GPIO and the current CM4 project program respectively, 
       then download them to the development board and reset to run；
    2, open the debugging mode, the variable ADC1ConvertedValue added to the watch window to observe;
    3, By changing the voltage of PA6,PA7 pin, you can see the conversion results of variable synchronization change
    
    
4. Attention
    None

