SPP storage HAL API — dispatches through the registered HAL port. More...
#include "spp/core/returnTypes.h"Go to the source code of this file.
Functions | |
| SPP_RetVal_t | SPP_HAL_STORAGE_init (void) |
| SPP_RetVal_t | SPP_HAL_STORAGE_write (const void *p_buffer, spp_uint32_t first_block, spp_uint16_t count) |
SPP storage HAL API — dispatches through the registered HAL port.
Definition in file storage.h.
| SPP_RetVal_t SPP_HAL_STORAGE_init | ( | void | ) |
Definition at line 18 of file storage.c.
References K_SPP_ERROR, K_SPP_ERROR_NULL_POINTER, K_SPP_OK, SPP_HAL_getPort(), SPP_HAL_STORAGE_init(), SPP_HalPort_t::storage, and SPP_HALStorage_t::storageInit.
Referenced by SPP_HAL_STORAGE_init(), and SPP_SERVICES_DATALOGGER_init().
| SPP_RetVal_t SPP_HAL_STORAGE_write | ( | const void * | p_buffer, |
| spp_uint32_t | first_block, | ||
| spp_uint16_t | count ) |
Definition at line 38 of file storage.c.
References K_SPP_ERROR, K_SPP_ERROR_NULL_POINTER, K_SPP_OK, SPP_HAL_getPort(), SPP_HAL_STORAGE_write(), SPP_HalPort_t::storage, and SPP_HALStorage_t::storageWrite.
Referenced by SPP_HAL_STORAGE_write(), and SPP_SERVICES_DATALOGGER_consumeData().