libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
f4/flash.h
Go to the documentation of this file.
1
/** @defgroup flash_defines FLASH Defines
2
*
3
* @ingroup STM32F4xx_defines
4
*
5
* @brief Defined Constants and Types for the STM32F4xx FLASH Memory
6
*
7
* @version 1.0.0
8
*
9
* @date 14 January 2014
10
*
11
* LGPL License Terms @ref lgpl_license
12
*/
13
14
/*
15
* This file is part of the libopencm3 project.
16
*
17
* This library is free software: you can redistribute it and/or modify
18
* it under the terms of the GNU Lesser General Public License as published by
19
* the Free Software Foundation, either version 3 of the License, or
20
* (at your option) any later version.
21
*
22
* This library is distributed in the hope that it will be useful,
23
* but WITHOUT ANY WARRANTY; without even the implied warranty of
24
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25
* GNU Lesser General Public License for more details.
26
*
27
* You should have received a copy of the GNU Lesser General Public License
28
* along with this library. If not, see <http://www.gnu.org/licenses/>.
29
*/
30
31
#ifndef LIBOPENCM3_FLASH_H
32
#define LIBOPENCM3_FLASH_H
33
34
#include <
libopencm3/stm32/common/flash_common_all.h
>
35
#include <
libopencm3/stm32/common/flash_common_f.h
>
36
#include <
libopencm3/stm32/common/flash_common_f24.h
>
37
38
#define FLASH_SR_PGSERR (1 << 7)
39
#define FLASH_OPTCR_WDG_SW (1 << 5)
40
41
BEGIN_DECLS
42
43
void
flash_clear_pgserr_flag
(
void
);
44
45
END_DECLS
46
47
#endif
END_DECLS
#define END_DECLS
Definition:
common.h:34
BEGIN_DECLS
#define BEGIN_DECLS
Definition:
common.h:33
flash_common_all.h
flash_common_f24.h
flash_common_f.h
flash_clear_pgserr_flag
void flash_clear_pgserr_flag(void)
Clear the Programming Sequence Error Flag.
Definition:
flash.c:63
include
libopencm3
stm32
f4
flash.h
Generated on Tue Mar 7 2023 16:11:41 for libopencm3 by
1.9.4