Solaris Software
Loading...
Searching...
No Matches
storage.h
Go to the documentation of this file.
1/**
2 * @file storage.h
3 * @brief SPP storage HAL API — dispatches through the registered HAL port.
4 *
5 */
6
7#ifndef SPP_HAL_STORAGE_H
8#define SPP_HAL_STORAGE_H
9
11
12/* ----------------------------------------------------------------
13 * Public API
14 * ---------------------------------------------------------------- */
15
17SPP_RetVal_t SPP_HAL_STORAGE_write(const void *p_buffer, spp_uint32_t first_block,
18 spp_uint16_t count); // size = 512 x count
19
20#endif /* SPP_HAL_STORAGE_H */
Standard return-value type used across all SPP modules.
SPP_RetVal_t
Unified return type for all SPP API functions.
Definition returnTypes.h:24
SPP_RetVal_t SPP_HAL_STORAGE_init(void)
Definition storage.c:18
SPP_RetVal_t SPP_HAL_STORAGE_write(const void *p_buffer, spp_uint32_t first_block, spp_uint16_t count)
Definition storage.c:38
uint16_t spp_uint16_t
Definition types.h:29
uint32_t spp_uint32_t
Definition types.h:31