2012-12-12 07:01:25 +01:00
|
|
|
/**
|
|
|
|
******************************************************************************
|
|
|
|
* @file pios_flash_internal_priv.h
|
|
|
|
* @author PhoenixPilot, http://github.com/PhoenixPilot, Copyright (C) 2012
|
2013-05-18 14:17:26 +02:00
|
|
|
* @addtogroup
|
2012-12-12 07:01:25 +01:00
|
|
|
* @{
|
2013-05-18 14:17:26 +02:00
|
|
|
* @addtogroup
|
2012-12-12 07:01:25 +01:00
|
|
|
* @{
|
|
|
|
* @brief Provides a flash driver for the STM32 internal flash sectors
|
|
|
|
*****************************************************************************/
|
2013-05-18 14:17:26 +02:00
|
|
|
/*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation; either version 3 of the License, or
|
2012-12-12 07:01:25 +01:00
|
|
|
* (at your option) any later version.
|
2013-05-18 14:17:26 +02:00
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful, but
|
|
|
|
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
|
|
|
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
2012-12-12 07:01:25 +01:00
|
|
|
* for more details.
|
2013-05-18 14:17:26 +02:00
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License along
|
|
|
|
* with this program; if not, write to the Free Software Foundation, Inc.,
|
2012-12-12 07:01:25 +01:00
|
|
|
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
|
|
*/
|
|
|
|
|
2013-03-15 12:09:19 +01:00
|
|
|
#ifndef PIOS_FLASH_INTERNAL_H
|
|
|
|
#define PIOS_FLASH_INTERNAL_H
|
2012-12-12 07:01:25 +01:00
|
|
|
|
2013-05-18 14:17:26 +02:00
|
|
|
#include "pios_flash.h" /* API definition for flash drivers */
|
2012-12-12 07:01:25 +01:00
|
|
|
|
|
|
|
extern const struct pios_flash_driver pios_internal_flash_driver;
|
|
|
|
|
|
|
|
struct pios_flash_internal_cfg {
|
2013-05-18 14:17:26 +02:00
|
|
|
;
|
2012-12-12 07:01:25 +01:00
|
|
|
};
|
|
|
|
|
2013-05-18 14:17:26 +02:00
|
|
|
extern int32_t PIOS_Flash_Internal_Init(uintptr_t *flash_id, const struct pios_flash_internal_cfg *cfg);
|
2012-12-12 07:01:25 +01:00
|
|
|
|
2013-05-18 14:17:26 +02:00
|
|
|
#endif /* PIOS_FLASH_INTERNAL_H */
|