I2C example for initialize, read, and write eeprom 24c02
File list:
Demo_19_I2C_M24C02
.................\cmsis
.................\.....\core_cm4.h
.................\.....\core_cm4_simd.h
.................\.....\core_cmFunc.h
.................\.....\core_cmInstr.h
.................\cmsis_boot
.................\..........\startup
.................\..........\.......\startup_stm32f4xx.c
.................\..........\stm32f4xx.h
.................\..........\stm32f4xx_conf.h
.................\..........\system_stm32f4xx.c
.................\..........\system_stm32f4xx.h
.................\cmsis_lib
.................\.........\include
.................\.........\.......\stm32f4xx_gpio.h
.................\.........\.......\stm32f4xx_i2c.h
.................\.........\.......\stm32f4xx_rcc.h
.................\.........\source
.................\.........\......\stm32f4xx_gpio.c
.................\.........\......\stm32f4xx_i2c.c
.................\.........\......\stm32f4xx_rcc.c
.................\Demo_19
.................\.......\Debug
.................\.......\.....\bin
.................\.......\.....\...\Demo_19.bin
.................\.......\.....\...\Demo_19.elf
.................\.......\.....\...\Demo_19.hex
.................\.......\.....\...\Demo_19.map
.................\.......\.....\...\history.xml
.................\.......\.....\obj
.................\.......\.....\...\dependencies.xml
.................\.......\.....\...\history.xml
.................\.......\.....\...\main.o
.................\.......\.....\...\startup_stm32f4xx.o
.................\.......\.....\...\stm32f4xx_gpio.o
.................\.......\.....\...\stm32f4xx_i2c.o
.................\.......\.....\...\stm32f4xx_rcc.o
.................\.......\.....\...\stm32_ub_i2c1.o
.................\.......\.....\...\stm32_ub_i2c2.o
.................\.......\.....\...\stm32_ub_i2c3.o
.................\.......\.....\...\stm32_ub_led.o
.................\.......\.....\...\stm32_ub_m24c02.o
.................\.......\.....\...\system_stm32f4xx.o
.................\.......\Demo_19.elf.xcodeproj
.................\.......\.....................\project.pbxproj
.................\ub_lib
.................\......\stm32_ub_i2c1.c
.................\......\stm32_ub_i2c1.h
.................\......\stm32_ub_led.c
.................\......\stm32_ub_led.h
.................\......\stm32_ub_m24c02.c
.................\......\stm32_ub_m24c02.h
.................\Demo_19.cogui
.................\Demo_19.coproj
.................\main.c
.................\main.h