rusEFI
The most advanced open source ECU
flash.h
Go to the documentation of this file.
1 /************************************************************************************//**
2 * \file Source/_template/flash.h
3 * \brief Bootloader flash driver header file.
4 * \ingroup Target__template_flash
5 * \internal
6 *----------------------------------------------------------------------------------------
7 * C O P Y R I G H T
8 *----------------------------------------------------------------------------------------
9 * Copyright (c) 2019 by Feaser http://www.feaser.com All rights reserved
10 *
11 *----------------------------------------------------------------------------------------
12 * L I C E N S E
13 *----------------------------------------------------------------------------------------
14 * This file is part of OpenBLT. OpenBLT is free software: you can redistribute it and/or
15 * modify it under the terms of the GNU General Public License as published by the Free
16 * Software Foundation, either version 3 of the License, or (at your option) any later
17 * version.
18 *
19 * OpenBLT is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
20 * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
21 * PURPOSE. See the GNU General Public License for more details.
22 *
23 * You have received a copy of the GNU General Public License along with OpenBLT. It
24 * should be located in ".\Doc\license.html". If not, contact Feaser to obtain a copy.
25 *
26 * \endinternal
27 ****************************************************************************************/
28 #ifndef FLASH_H
29 #define FLASH_H
30 
31 /****************************************************************************************
32 * Function prototypes
33 ****************************************************************************************/
34 void FlashInit(void);
35 void FlashReinit(void);
40 blt_bool FlashDone(void);
43 
44 #endif /* FLASH_H */
45 /*********************************** end of flash.h ************************************/
constexpr uint8_t addr
Definition: ads1015.cpp:5
blt_bool isFlashDualBank(void)
blt_bool FlashWriteChecksum(void)
blt_addr FlashGetUserProgBaseAddress(void)
blt_bool FlashDone(void)
blt_bool FlashVerifyChecksum(void)
void FlashInit(void)
blt_bool FlashWrite(blt_addr addr, blt_int32u len, blt_int8u *data)
void FlashReinit(void)
blt_bool FlashErase(blt_addr addr, blt_int32u len)
unsigned char blt_int8u
Definition: types.h:49
unsigned char blt_bool
Definition: types.h:46
unsigned int blt_int32u
Definition: types.h:53
unsigned long blt_addr
Definition: types.h:48