CC_MultilevelSensor_SensorHandlerTypes.h. More...
Go to the source code of this file.
Data Structures | |
struct | _sensor_type |
struct | _sensor_read_result |
struct | _sensor_interface |
struct | _sensor_administration |
Macros | |
#define | SENSOR_SCALE_DEFAULT 0x00 |
#define | SENSOR_SCALE_CELSIUS 0x00 |
#define | SENSOR_SCALE_FAHRENHEIT 0x01 |
#define | SENSOR_SCALE_PERCENTAGE 0x00 |
#define | SENSOR_SCALE_DIMENSIONLESS 0x01 |
#define | SENSOR_SCALE_LUX 0x01 |
#define | SENSOR_SCALE_WATT 0x00 |
#define | SENSOR_SCALE_BTU_H 0x01 /*Btu/h*/ |
#define | SENSOR_SCALE_ABSOLUTE_HUMIDITY 0x01 /*g/m3*/ |
#define | SENSOR_SCALE_METER_SQUARE_SECOND 0x00 /*m/s^2*/ |
#define | SLI_MAX_RAW_RESULT_BYTES 4 |
Typedefs | |
typedef enum sensor_name | sensor_name_t |
typedef struct _sensor_type | sensor_type_t |
typedef struct _sensor_read_result | sensor_read_result_t |
typedef struct _sensor_interface | sensor_interface_t |
typedef struct _sensor_interface | sensor_interface_iterator_t |
typedef struct _sensor_administration | sensor_administration_t |
Functions | |
const sensor_type_t * | cc_multilevel_sensor_get_sensor_type (sensor_name_t i_sensor_name) |
sensor_interface_return_value_t | cc_multilevel_sensor_init_interface (sensor_interface_t *i_instance, sensor_name_t i_name) |
sensor_interface_return_value_t | cc_multilevel_sensor_add_supported_scale_interface (sensor_interface_t *i_instance, uint8_t i_scale) |
CC_MultilevelSensor_SensorHandlerTypes.h.
Copyright 2020 Silicon Laboratories Inc. www.silabs.com
The licensor of this software is Silicon Laboratories Inc. Your use of this software is governed by the terms of Silicon Labs Master Software License Agreement (MSLA) available at www.silabs.com/about-us/legal/master-software-license-agreement. This software is distributed to you in Source Code format and is governed by the sections of the MSLA applicable to Source Code.