1、功能说明
    1、COMP1的输出PC5受输入INP PB0和INM PB1的影响

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、端口配置：
            PB0选择为模拟功能COMP INP
            PB1选择为模拟功能COMP INM
            PC5选择为模拟功能COMP OUT
            PA5选择为IO输出
            PA6选择为IO输出
            
            
    使用方法：
        1、编译后打开调试模式，将PA5连接到PB0，PA6连接到PB1，利用示波器或者逻辑分析仪观察PC5输出波形
        2、当软件输出PA5电平大于PA6时，PC5输出高电平，相反时，输出低电平
        
4、注意事项
    无
    
1. Function description

    1. COMP1 output PC5 is affected by INP PB0 and INM PB1

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:
            PB0 is selected as the analog function COMP INP
            PB1 is selected as the simulation function COMP INM
            PC5 is selected as emulation feature COMP OUT
            PA5 Select IO output
            PA6 select IO output
            
    Usage:
        1. After compiling, open the debugging mode, connect PA5 to PB0 and PA6 to PB1, and observe the output waveform of PC5 using oscilloscope or logic analyzer.
        2. When the software outputs PA5 level greater than PA6, PC5 outputs high level; otherwise, PC5 outputs low level 
        
4. Attention
    None

