12typedef int (*SENSORCALL)(uint8_t sensorindex);
13typedef int (*SENSORREADCALL)(uint8_t sensorindex, uint8_t *error);
14typedef void (*SENSORSTATUS) (uint8_t sensorindex,
char *buf,
int bufsize,
int *status);
18 SENSORCALL power_down;
19 SENSORCALL get_reading_size;
20 SENSORREADCALL get_reading;
21 SENSORSTATUS get_status;
22 const char *
const name;
23 const char *
const type;
24 const char *
const unit;
25 const char *
const unit_prefix;
44 uint32_t last_value_uint32;
45 uint16_t last_value_uint16;
46 uint8_t last_value_uint8;
runtime data per sensor (in-ram)