Solaris Software
Loading...
Searching...
No Matches
storage.h File Reference

SPP storage HAL API — dispatches through the registered HAL port. More...

Include dependency graph for storage.h:
This graph shows which files directly or indirectly include this file:

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)

Detailed Description

SPP storage HAL API — dispatches through the registered HAL port.

Definition in file storage.h.

Function Documentation

◆ SPP_HAL_STORAGE_init()

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().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SPP_HAL_STORAGE_write()

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().

Here is the call graph for this function:
Here is the caller graph for this function: