rusEFI
The most advanced open source ECU
Loading...
Searching...
No Matches
controllers
flash_main.h
Go to the documentation of this file.
1
/**
2
* @file flash_main.h
3
* @brief
4
*
5
* @date Sep 19, 2013
6
* @author Andrey Belomutskiy, (c) 2012-2020
7
*/
8
9
#pragma once
10
11
void
readFromFlash
();
12
void
initFlash
();
13
14
/**
15
* Because of hardware-related issues, some stm32f4/7 chips are totally
16
* frozen while we are writing to internal flash. Writing the configuration takes
17
* about 1-2 seconds, we cannot afford to do that while the engine is
18
* running so we postpone the write until the engine is stopped.
19
*/
20
void
writeToFlashNow
();
21
bool
writeToFlashNowImpl
();
22
void
setNeedToWriteConfiguration
();
23
24
bool
settingsLtftRequestWriteToFlash
();
25
26
bool
flashAllowWriteID
(uint32_t
id
);
flashAllowWriteID
bool flashAllowWriteID(uint32_t id)
initFlash
void initFlash()
Definition
flash_main.cpp:163
writeToFlashNowImpl
bool writeToFlashNowImpl()
Definition
flash_main.cpp:54
setNeedToWriteConfiguration
void setNeedToWriteConfiguration()
Definition
flash_main.cpp:43
settingsLtftRequestWriteToFlash
bool settingsLtftRequestWriteToFlash()
Definition
flash_main.cpp:49
readFromFlash
void readFromFlash()
Definition
flash_main.cpp:114
writeToFlashNow
void writeToFlashNow()
Definition
flash_main.cpp:37
Generated on Sat Sep 27 2025 00:10:04 for rusEFI by
1.9.8