1、功能说明
    此例程展示了作为主机通过中断方式使用I2C收发数据。

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、I2C1 配置：
            SCL   -->  PB6          
            SDA   -->  PB7         
            I2C CLK: 48MHz
            SCL CLK: 100KHz
            
        4、USART1配置：
            TX  -->  PA9       
            波特率：115200
    
    使用方法：
        a，跳线连接从机I2C1
        b，编译下载代码复位运行
        c，从串口看打印信息，验证结果，若读取数据与写入数据一致则打印通过
        
4、注意事项
    SCL及SDA必须接上拉
    
1. Function description
    This example demonstrates the use of I2C as a master to send and receive data by interrupt.

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. I2C1 configuration:
            SCL   -->  PB6          
            SDA   -->  PB7         
            I2C CLK: 48MHz
            SCL CLK: 100KHz
            
        4. USART1 configuration:
             TX --> PA9
             Baud rate: 115200
    
     Test steps:
         a, jumper wire to connect slave I2C1
         b, compile and download the code, reset and run
         c, view the print information from the serial port and verify the result, If the read data is the same as the written data, the print passes.


4. Attention
    SCL and SDA must be pulled up
