You are viewing documentation for version:
Structure that holds a read result from the read interface.
Public Attributes#
Reference of a sensor type structure.
uint8_t
Each bit represents a supported scale.
bool(*
Function pointer to initialize a sensor.
bool(*
Function pointer to deinitialize a sensor.
bool(*
Function pointer to read a sensor value.
Public Attribute Documentation#
sensor_type#
const sensor_type_t* _sensor_interface::sensor_type
Reference of a sensor type structure.
supported_scale#
uint8_t _sensor_interface::supported_scale
Each bit represents a supported scale.
init#
bool(* _sensor_interface::init) (void)
Function pointer to initialize a sensor.
deinit#
bool(* _sensor_interface::deinit) (void)
Function pointer to deinitialize a sensor.
read_value#
bool(* _sensor_interface::read_value) (sensor_read_result_t *o_result, uint8_t i_scale)
Function pointer to read a sensor value.