Go to the documentation of this file.
4 #ifndef ACC_HAL_DEFINITIONS_A121_H_
5 #define ACC_HAL_DEFINITIONS_A121_H_
18 #define ACC_HAL_SPI_TRANSFER_SIZE_REQUIRED 16U
25 typedef void *(*acc_hal_mem_alloc_function_t)(size_t);
void(* acc_hal_sensor_transfer16_function_t)(acc_sensor_id_t sensor_id, uint16_t *buffer, size_t buffer_length)
Definition of an optimized 16-bit sensor transfer function.
This struct contains function pointers that are optional to support different optimizations.
acc_hal_sensor_transfer8_function_t transfer
void(* acc_hal_log_function_t)(acc_log_level_t level, const char *module, const char *format,...)
Definition of a log function.
acc_hal_log_function_t log
void *(* acc_hal_mem_alloc_function_t)(size_t)
Definition of a memory allocation function.
void(* acc_hal_sensor_transfer8_function_t)(acc_sensor_id_t sensor_id, uint8_t *buffer, size_t buffer_size)
Definition of a sensor transfer function.
acc_log_level_t
This enum represents the different log levels for RSS.
acc_hal_optimization_t optimization
void(* acc_hal_mem_free_function_t)(void *)
Definition of a memory free function.
acc_hal_sensor_transfer16_function_t transfer16
uint32_t acc_sensor_id_t
Type representing a sensor ID.
uint16_t max_spi_transfer_size
acc_hal_mem_free_function_t mem_free
acc_hal_mem_alloc_function_t mem_alloc