TMPM4G9  V1.0.0.0
i2c_eeprom.c File Reference

This file provides API functions for I2C EEPROM(EEPROM-24FC256). More...

#include "i2c_eeprom.h"
#include "bsp_i2c.h"

Macros

#define I2C_EEPROM_ADDRESS   ((uint8_t)0xA0)
 
#define I2C_EEPROM_CLOCK   (400000)
 

Functions

TXZ_Result EEPROM_i2c_init (void)
 Initializing of I2C Driver. More...
 
TXZ_Result EEPROM_i2c_ReadByte (int32_t address, uint8_t *p_data)
 EEPROM BYTE READ. More...
 
TXZ_Result EEPROM_i2c_WriteByte (int32_t address, uint8_t data)
 EEPROM BYTE WRITE. More...
 
int32_t EEPROM_i2c_ReadData (int32_t address, uint8_t *p_data, int32_t length)
 EEPROM SEQUENCIAL READ. More...
 
int32_t EEPROM_i2c_WritePage (int32_t address, uint8_t *p_data, int32_t length)
 EEPROM PAGE WRITE. More...
 
TXZ_Result EEPROM_i2c_WriteProtection (void)
 EEPROM_i2c_WriteProtection. More...
 
int32_t EEPROM_i2c_IsDeviceReady (void)
 EEPROM_i2c_IsDeviceReady. More...
 

Detailed Description

This file provides API functions for I2C EEPROM(EEPROM-24FC256).

Version
V1.0.0.0
Date
2016-11-08 00:00:00

DO NOT USE THIS SOFTWARE WITHOUT THE SOFTWARE LISENCE AGREEMENT.

Copyright(C) Toshiba Electronic Device Solutions Corporation 2019