Motr
M0
|
#include <addb2.h>
Data Fields | |
void(* | so_snapshot )(struct m0_addb2_sensor *s, uint64_t *area) |
void(* | so_fini )(struct m0_addb2_sensor *s) |
void(* so_fini) (struct m0_addb2_sensor *s) |
void(* so_snapshot) (struct m0_addb2_sensor *s, uint64_t *area) |
IMPLEMENTATION calls this periodically to read sensor measurements.
"area" points to a buffer, where ->so_snapshot() should write out its payload, no more than m0_addb2_sensor::s_nr elements.