|
Infuse-IoT SDK API 0.0.1
A Scalable Open Source RTOS
|
Data Logger shim backend API . More...
Data Structures | |
| struct | data_logger_shim_function_data |
| Data structure used for shim. More... | |
Functions | |
| int | logger_shim_init (const struct device *dev) |
| Re-initialise the logger. | |
| void | logger_shim_change_size (const struct device *dev, uint16_t block_size) |
| Update the current data size of the shim backend. | |
| struct data_logger_shim_function_data * | data_logger_backend_shim_data_pointer (const struct device *dev) |
| Get the pointer to the function data struct. | |
Data Logger shim backend API .
| struct data_logger_shim_function_data * data_logger_backend_shim_data_pointer | ( | const struct device * | dev | ) |
#include <infuse/data_logger/backend/shim.h>
Get the pointer to the function data struct.
| dev | Device to get pointer from |
| void logger_shim_change_size | ( | const struct device * | dev, |
| uint16_t | block_size ) |
#include <infuse/data_logger/backend/shim.h>
Update the current data size of the shim backend.
| dev | Device to update |
| block_size | New block size |
| int logger_shim_init | ( | const struct device * | dev | ) |
#include <infuse/data_logger/backend/shim.h>
Re-initialise the logger.
| dev | Device to re-initialise |
| 0 | on success |
| -errno | on error |