libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
flash_common_idcache.c
Go to the documentation of this file.
1/** @addtogroup flash_file
2 *
3 */
4
5/*
6 * This file is part of the libopencm3 project.
7 *
8 * This library is free software: you can redistribute it and/or modify
9 * it under the terms of the GNU Lesser General Public License as published by
10 * the Free Software Foundation, either version 3 of the License, or
11 * (at your option) any later version.
12 *
13 * This library is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU Lesser General Public License for more details.
17 *
18 * You should have received a copy of the GNU Lesser General Public License
19 * along with this library. If not, see <http://www.gnu.org/licenses/>.
20 */
21
22/**@{*/
23
26
28{
30}
31
33{
34 FLASH_ACR &= ~FLASH_ACR_DCEN;
35}
36
38{
40}
41
43{
44 FLASH_ACR &= ~FLASH_ACR_ICEN;
45}
46
47
49{
51}
52
54{
56}
57
58/**@}*/
59
#define FLASH_ACR_ICEN
#define FLASH_ACR_DCEN
#define FLASH_ACR_ICRST
#define FLASH_ACR_DCRST
#define FLASH_ACR
Definition: l4/flash.h:50
void flash_dcache_reset(void)
Reset the Data Cache.
void flash_icache_disable(void)
Disable the Instruction Cache.
void flash_icache_reset(void)
Reset the Instruction Cache.
void flash_icache_enable(void)
Enable the Instruction Cache.
void flash_dcache_disable(void)
Disable the data cache.
void flash_dcache_enable(void)
Enable the data cache.