2 ******************************************************************************
4 * @file pios_flash_eeprom.h
5 * @author The OpenPilot Team, http://www.openpilot.org Copyright (C) 2014.
6 * @brief API to interface to EEPROM chips using the common flash api
8 * @see The GNU Public License (GPL) Version 3
10 *****************************************************************************/
11 #ifndef FLIGHT_PIOS_INC_PIOS_FLASH_EEPROM_H_
12 #define FLIGHT_PIOS_INC_PIOS_FLASH_EEPROM_H_
13 #include <pios_flash.h>
14 struct pios_flash_eeprom_cfg
{
18 extern const struct pios_flash_driver pios_EEPROM_flash_driver
;
19 int32_t PIOS_Flash_EEPROM_Init(uintptr_t *flash_id
, struct pios_flash_eeprom_cfg
*cfg
, int32_t i2c_adapter
, uint32_t i2c_addr
);
21 #endif /* FLIGHT_PIOS_INC_PIOS_FLASH_EEPROM_H_ */