Browse Source
All the "f" type flash parts have an EOP flag, even if it's in different bit positions. Add a header for this common functionality, and move it's implementation to the existing common file.pull/942/merge
Karl Palsson
6 years ago
15 changed files with 46 additions and 42 deletions
@ -0,0 +1,32 @@ |
|||
/** @addtogroup flash_defines
|
|||
* |
|||
*/ |
|||
/*
|
|||
* This file is part of the libopencm3 project. |
|||
* |
|||
* This library is free software: you can redistribute it and/or modify |
|||
* it under the terms of the GNU Lesser General Public License as published by |
|||
* the Free Software Foundation, either version 3 of the License, or |
|||
* (at your option) any later version. |
|||
* |
|||
* This library is distributed in the hope that it will be useful, |
|||
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|||
* GNU Lesser General Public License for more details. |
|||
* |
|||
* You should have received a copy of the GNU Lesser General Public License |
|||
* along with this library. If not, see <http://www.gnu.org/licenses/>.
|
|||
*/ |
|||
|
|||
#pragma once |
|||
|
|||
#include <libopencm3/cm3/common.h> |
|||
|
|||
BEGIN_DECLS |
|||
|
|||
/**
|
|||
* Clear the End of OPeration flag. |
|||
*/ |
|||
void flash_clear_eop_flag(void); |
|||
|
|||
END_DECLS |
Loading…
Reference in new issue