Solaris Software
Loading...
Searching...
No Matches
SPP_HALStorage_t Struct Reference

Storage struct that contains all the pointers to the storage functions. More...

#include <hal.h>

Data Fields

SPP_RetVal_t(*) storageInit (void)
 Initialize the storage device.
SPP_RetVal_t(*) storageWrite (const void *p_buffer, spp_uint32_t first_block, spp_uint16_t count)
 Write consecutive blocks to the storage device.

Detailed Description

Storage struct that contains all the pointers to the storage functions.

Definition at line 150 of file hal.h.

Field Documentation

◆ storageInit

SPP_RetVal_t(*) SPP_HALStorage_t::storageInit(void)

Initialize the storage device.

Parameters
[in,out]p_handleHardware-specific storage context.
Returns
K_SPP_OK on success, K_SPP_ERROR on failure.

Definition at line 159 of file hal.h.

Referenced by SPP_HAL_STORAGE_init().

◆ storageWrite

SPP_RetVal_t(*) SPP_HALStorage_t::storageWrite(const void *p_buffer, spp_uint32_t first_block, spp_uint16_t count)

Write consecutive blocks to the storage device.

Parameters
[in,out]p_handleHardware-specific storage context.
[in]p_bufferData to write.
[in]first_blockFirst logical block to write.
[in]countNumber of blocks to write.
Returns
K_SPP_OK on success, K_SPP_ERROR on failure.

Definition at line 171 of file hal.h.

Referenced by SPP_HAL_STORAGE_write().


The documentation for this struct was generated from the following file:
  • solaris-v2/spp/hal/hal.h