EFM32 Happy Gecko Software Documentation  efm32hg-doc-5.1.2
eeprom.h File Reference

Detailed Description

EEPROM driver for 24AA024 (2Kbit) EEPROM device on the DK.

Version
5.1.1

License

Copyright 2015 Silicon Labs, Inc. http://www.silabs.com

This file is licensed under the Silabs License Agreement. See the file "Silabs_License_Agreement.txt" for details. Before using this software for any purpose, you must agree to the terms of that agreement.

Definition in file eeprom.h.

#include "em_device.h"

Go to the source code of this file.

Macros

#define EEPROM_DVK_ADDR   0xA0
 

Functions

int EEPROM_Read (I2C_TypeDef *i2c, uint8_t addr, unsigned int offset, uint8_t *data, unsigned int len)
 Read data from EEPROM. More...
 
int EEPROM_Write (I2C_TypeDef *i2c, uint8_t addr, unsigned int offset, uint8_t *data, unsigned int len)
 Write data to EEPROM. More...