 |
simple FS
v0.1.0
|
Go to the documentation of this file.
26 #define SENSOR_ID_LENGTH 8
73 void (*Init)(
void* hw1, uint16_t hw2);
78 void (*resetSensor)(void);
99 void (*doMeasure)(void);
109 uint8_t (*getSensorCount)(void);
#define SENSOR_ID_LENGTH
Length of sensor ID in bytes.
Definition: sensor.h:26
uint8_t * value
Array, where is stored raw value as array of bytes.
Definition: sensor.h:45
SensorType_t type
define type of column SensorType_t
Definition: sensor.h:47
Describes internal structure of file.
Definition: file_format.h:228
uint8_t data_length
effective length of value (in bytes)
Definition: sensor.h:49
The interface, that defines list of functions, tha have to be implemented for each type of value (or ...
Definition: sensor.h:66
uint8_t size
Effective length of column ID.
Definition: sensor.h:36
Sensor value is stored as array of bytes.
Definition: sensor.h:42
Description of one column (or 1 sensor) in file.
Definition: sensor.h:32
uint8_t get_sensor_data_length(ValueFormatMetaLength_t length_code)
Compute real data length (in bytes) from code length.
Definition: sensor.c:20