Microchip® Advanced Software Framework

sensor_caps_t Struct Reference

Sensor Capabilities.

#include <sensor.h>

Data Fields

size_t band_count
 Device-specific bandwidth count. More...
 
const sensor_map_tband_table
 Device-specific bandwidth table. More...
 
sensor_feature_t feature
 API-specific sensor features. More...
 
const char * name
 Human readable description. More...
 
size_t range_count
 Device-specific range count. More...
 
const sensor_map_trange_table
 Device-specific range table. More...
 
sensor_scale_t scale
 Data sample engineering unit scale. More...
 
sensor_units_t units
 Data sample base engineering units. More...
 
sensor_vendor_t vendor
 API-specific vendor designation. More...
 

size_t sensor_caps_t::band_count

Device-specific bandwidth count.

Referenced by sensor_band_index(), and sensor_enum_bandwidth().

const sensor_map_t* sensor_caps_t::band_table

Device-specific bandwidth table.

Referenced by sensor_band_index(), and sensor_enum_bandwidth().

sensor_feature_t sensor_caps_t::feature

API-specific sensor features.

const char* sensor_caps_t::name

Human readable description.

Referenced by main().

size_t sensor_caps_t::range_count

Device-specific range count.

Referenced by sensor_enum_range(), and sensor_range_index().

const sensor_map_t* sensor_caps_t::range_table

Device-specific range table.

Referenced by sensor_enum_range(), and sensor_range_index().

sensor_scale_t sensor_caps_t::scale

Data sample engineering unit scale.

sensor_units_t sensor_caps_t::units

Data sample base engineering units.

sensor_vendor_t sensor_caps_t::vendor

API-specific vendor designation.