1. ˵
    չʾ RT_Thread ϵͳ I2C 豸дEEPROM

2. ʹû
    Ӳ̶ӦĿӲƽ̨ 
    壺   N32G4FRH_STB V1.1

3. ʹ˵
    ģ÷:ʱӣI/O 
         1. SystemClock144MHz
         2. GPIOLED(D1)--PA8
                        I2C3:   I2C_SCL--PC4I2C_SDA--PC5
                        ־: TX--PA9  RX--PA10ʣ115200

    DemoĲԲ 
         1. سλ
         2. main()洴̣߳test0 ̺߳ test1 ̣߳test0 ߳ڿ D1 250ms˸test1̲߳I2C豸дEEPROMԽͨڴӡ

4. ע
    

1. Function description
    This routine shows how to create an I2C device to read and write operation EEPROM on RT_Thread system

2. Use environment
    Hardware environment: development hardware platform corresponding to the project 
    Development board:      N32G4FRH_STB V1.1

3. Instructions for use
    Describe the configuration method of related modules; for example: clock, I/O, etc. 
        1. SystemClock: 144MHz
        2. GPIO: LED(D1)--PA8
                     I2C3:   I2C_SCL--PC4I2C_SDA--PC5
                     Log: TX--PA9 RX--PA10 Baud rate: 115200

    Describe the test steps and phenomena of Demo 
        1. After compiling, download the program to reset and run;
        2. This routine creates two threads in main(), test0 thread and test1 thread, test0 thread is used to control D1 250ms flashing, 
            test1 thread is used to test I2C device read and write operation EEPROM, test results are printed out through the serial port

4. Matters needing attention
    None