distortos  v0.7.0
object-oriented C++ RTOS for microcontrollers
STM32F4-FLASH.hpp File Reference

Header for FLASH-related functions for STM32F4. More...

#include "distortos/distortosConfiguration.h"
#include <cstdint>
Include dependency graph for STM32F4-FLASH.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


 Top-level namespace of distortos project.
 Chip-related code of distortos project.


int distortos::chip::configureFlashLatency (uint8_t latency)
 Configures flash latency. More...
void distortos::chip::configureInstructionPrefetch (bool enable)
 Configures instruction prefetch. More...
void distortos::chip::disableDataCache ()
 Disables data cache. More...
void distortos::chip::disableInstructionCache ()
 Disables instruction cache. More...
void distortos::chip::enableDataCache ()
 Enables data cache. More...
void distortos::chip::enableInstructionCache ()
 Enables instruction cache. More...


constexpr uint8_t distortos::chip::maxFlashLatency {7}
 maximum allowed value of flash latency More...

Detailed Description

Header for FLASH-related functions for STM32F4.

Copyright (C) 2015-2019 Kamil Szczygiel http://www.distortec.com http://www.freddiechopin.info
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.