mbed library sources. Supersedes mbed-src.
Dependents: Nucleo_Hello_Encoder BLE_iBeaconScan AM1805_DEMO DISCO-F429ZI_ExportTemplate1 ... more
Diff: hal/flash_api.h
- Revision:
- 189:f392fc9709a3
- Parent:
- 174:b96e65c34a4d
--- a/hal/flash_api.h Thu Nov 08 11:46:34 2018 +0000 +++ b/hal/flash_api.h Wed Feb 20 22:31:08 2019 +0000 @@ -3,6 +3,7 @@ /* mbed Microcontroller Library * Copyright (c) 2017 ARM Limited + * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -117,6 +118,13 @@ */ uint32_t flash_get_size(const flash_t *obj); +/** Get the flash erase value + * + * @param obj The flash object + * @return The flash erase value + */ +uint8_t flash_get_erase_value(const flash_t *obj); + /**@}*/ #ifdef __cplusplus