Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: mbed-os-example-blinky-gr-lychee GR-Boads_Camera_sample GR-Boards_Audio_Recoder GR-Boads_Camera_DisplayApp ... more
FlashIAP Class Reference
[Drivers]
Flash IAP driver. More...
#include <FlashIAP.h>
Public Member Functions | |
| int | init () |
| Initialize a flash IAP device. | |
| int | deinit () |
| Deinitialize a flash IAP device. | |
| int | read (void *buffer, uint32_t addr, uint32_t size) |
| Read data from a flash device. | |
| int | program (const void *buffer, uint32_t addr, uint32_t size) |
| Program data to pages. | |
| int | erase (uint32_t addr, uint32_t size) |
| Erase sectors. | |
| uint32_t | get_sector_size (uint32_t addr) const |
| Get the sector size at the defined address. | |
| uint32_t | get_flash_start () const |
| Get the flash start address. | |
| uint32_t | get_flash_size () const |
| Get the flash size. | |
| uint32_t | get_page_size () const |
| Get the program page size. | |
Detailed Description
Flash IAP driver.
It invokes flash HAL functions.
Note Synchronization level: Thread safe
Definition at line 40 of file FlashIAP.h.
Generated on Tue Jul 12 2022 11:02:42 by
1.7.2