| CMSIS-Driver Peripheral Interface for Middleware and Application Code |

Loading...
Searching...
No Matches
Functions
Driver_Storage.c File Reference

## Functions
ARM_DRIVER_VERSION | ARM_Storage_GetVersion (void)
| Get driver version.
ARM_STOR_CAPABILITIES | ARM_Storage_GetCapabilities (void)
| Get driver capabilities.
int32_t | ARM_Storage_Initialize (ARM_Storage_Callback_t callback)
| Initialize the Storage interface.
int32_t | ARM_Storage_Uninitialize (void)
| De-initialize the Storage Interface.
int32_t | ARM_Storage_PowerControl (ARM_POWER_STATE state)
| Control the Storage interface power.
int32_t | ARM_Storage_ReadData (uint64_t addr, void *data, uint32_t size)
| Read data from Storage.
int32_t | ARM_Storage_ProgramData (uint64_t addr, const void *data, uint32_t size)
| Program data to Storage.
int32_t | ARM_Storage_Erase (uint64_t addr, uint32_t size)
| Erase Storage range.
int32_t | ARM_Storage_EraseAll (void)
| Erase complete Storage.
ARM_Storage_STATUS | ARM_Storage_GetStatus (void)
| Get Storage status.
int32_t | ARM_Storage_GetInfo (ARM_STORAGE_INFO *info)
| Get Storage information.
uint32_t | ARM_Storage_ResolveAddress (uint64_t addr)
| Resolve an address relative to the storage controller into a memory address.
int32_t | ARM_Storage_GetNextBlock (const ARM_STORAGE_BLOCK *prev_block, ARM_STORAGE_BLOCK *next_block)
| Advance to the successor of the current block (iterator).
int32_t | ARM_Storage_GetBlock (uint64_t addr, ARM_STORAGE_BLOCK *block)
| Find the storage block (iterator) encompassing a given storage address.