mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-12-13 20:48:42 +01:00
35 lines
1.7 KiB
C
35 lines
1.7 KiB
C
|
/******************** (C) COPYRIGHT 2010 STMicroelectronics ********************
|
||
|
* File Name : nor_if.h
|
||
|
* Author : MCD Application Team
|
||
|
* Version : V3.2.1
|
||
|
* Date : 07/05/2010
|
||
|
* Description : Header for nor_if.c file.
|
||
|
********************************************************************************
|
||
|
* THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS
|
||
|
* WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE TIME.
|
||
|
* AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY DIRECT,
|
||
|
* INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING FROM THE
|
||
|
* CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE CODING
|
||
|
* INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.
|
||
|
*******************************************************************************/
|
||
|
|
||
|
/* Define to prevent recursive inclusion -------------------------------------*/
|
||
|
#ifndef __NOR_IF_MAL_H
|
||
|
#define __NOR_IF_MAL_H
|
||
|
|
||
|
/* Includes ------------------------------------------------------------------*/
|
||
|
#include "stm32f10x.h"
|
||
|
/* Exported types ------------------------------------------------------------*/
|
||
|
/* Exported constants --------------------------------------------------------*/
|
||
|
/* Exported macro ------------------------------------------------------------*/
|
||
|
/* Exported functions ------------------------------------------------------- */
|
||
|
|
||
|
uint16_t NOR_If_Init(void);
|
||
|
uint16_t NOR_If_Erase(uint32_t Address);
|
||
|
uint16_t NOR_If_Write(uint32_t Address, uint32_t DataLength);
|
||
|
uint8_t *NOR_If_Read(uint32_t Address, uint32_t DataLength);
|
||
|
|
||
|
#endif /* __NOR_IF_MAL_H */
|
||
|
|
||
|
/******************* (C) COPYRIGHT 2010 STMicroelectronics *****END OF FILE****/
|