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
37
38#define FLASH_SR_PGSERR (1 << 7)
39#define FLASH_OPTCR_WDG_SW (1 << 5)
40
42
44
46
47#endif
#define END_DECLS
Definition: common.h:34
#define BEGIN_DECLS
Definition: common.h:33
void flash_clear_pgserr_flag(void)
Clear the Programming Sequence Error Flag.
Definition: flash.c:63