|
Infuse-IoT SDK API 0.0.1
A Scalable Open Source RTOS
|
Data logger state. More...
#include <logger.h>
Data Fields | |
| uint64_t | bytes_logged |
| Bytes logged since reboot. | |
| uint32_t | logical_blocks |
| Number of logical blocks on the logger. | |
| uint32_t | physical_blocks |
| Number of physical blocks on the logger. | |
| uint32_t | boot_block |
| Number of blocks present at boot. | |
| uint32_t | current_block |
| Number of logical blocks that have been written. | |
| uint32_t | earliest_block |
| Earliest logical block that still exists on the logger. | |
| uint32_t | erase_unit |
| Minimum erase unit of the logger in bytes. | |
| uint16_t | block_size |
| Size of a single block in bytes. | |
| uint16_t | block_overhead |
| Number of bytes at the start of the block that should not contain data. | |
| bool | requires_full_block_write |
| Writes require the full block size to be provided. | |
Data logger state.
| uint16_t data_logger_state::block_overhead |
Number of bytes at the start of the block that should not contain data.
| uint16_t data_logger_state::block_size |
Size of a single block in bytes.
| uint32_t data_logger_state::boot_block |
Number of blocks present at boot.
| uint64_t data_logger_state::bytes_logged |
Bytes logged since reboot.
| uint32_t data_logger_state::current_block |
Number of logical blocks that have been written.
| uint32_t data_logger_state::earliest_block |
Earliest logical block that still exists on the logger.
| uint32_t data_logger_state::erase_unit |
Minimum erase unit of the logger in bytes.
| uint32_t data_logger_state::logical_blocks |
Number of logical blocks on the logger.
| uint32_t data_logger_state::physical_blocks |
Number of physical blocks on the logger.
| bool data_logger_state::requires_full_block_write |
Writes require the full block size to be provided.