Trident IoT Z-Wave SDK
 
Loading...
Searching...
No Matches
_sensor_interface Struct Reference

#include <CC_MultilevelSensor_SensorHandlerTypes.h>

+ Collaboration diagram for _sensor_interface:

Data Fields

const sensor_type_tsensor_type
 Reference of a sensor type structure.
 
uint8_t supported_scale
 Each bit represents a supported scale.
 
bool(* init )(void)
 Function pointer to initialize a sensor.
 
bool(* deinit )(void)
 Function pointer to deinitialize a sensor.
 
bool(* read_value )(sensor_read_result_t *o_result, uint8_t i_scale)
 Function pointer to read a sensor value.
 

Detailed Description

Structure that holds a read result from the read interface.

Field Documentation

◆ deinit

bool(* _sensor_interface::deinit) (void)

Function pointer to deinitialize a sensor.

◆ init

bool(* _sensor_interface::init) (void)

Function pointer to initialize 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.

◆ 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.


The documentation for this struct was generated from the following file: