Structure for storing the Sensor Configurations from the User.

Public Attributes#

char *

Name of the sensor.

int16_t

GPIO Interrupt Configurations.

uint16_t

GPIO pin for sampling the sensor data.

uint32_t

Sensor data sampling interval.

uint8_t

Address of sensor.

uint16_t

Channel for adc.

union sl_sensor_info_t::@2
sl_sensor_id_t

Sensor id.

sl_sensor_bus_t

Protocol for the sensor(spi/i2c/adc)

Sensor Mode(Enumeration)

sl_sensor_range_t

Range of sensor.

Data delivery mode for the sensor.

sl_sensor_data_group_t *

Pointer to Sensor data storage structure.

Public Attribute Documentation#

sensor_name#

char* sl_sensor_info_t::sensor_name

Name of the sensor.


Definition at line 197 of file components/device/silabs/si91x/mcu/drivers/service/sensorhub/inc/sensor_hub.h

sensor_intr_type#

int16_t sl_sensor_info_t::sensor_intr_type

GPIO Interrupt Configurations.


Definition at line 198 of file components/device/silabs/si91x/mcu/drivers/service/sensorhub/inc/sensor_hub.h

sampling_intr_req_pin#

uint16_t sl_sensor_info_t::sampling_intr_req_pin

GPIO pin for sampling the sensor data.


Definition at line 199 of file components/device/silabs/si91x/mcu/drivers/service/sensorhub/inc/sensor_hub.h

sampling_interval#

uint32_t sl_sensor_info_t::sampling_interval

Sensor data sampling interval.


Definition at line 200 of file components/device/silabs/si91x/mcu/drivers/service/sensorhub/inc/sensor_hub.h

address#

uint8_t sl_sensor_info_t::address

Address of sensor.


Definition at line 202 of file components/device/silabs/si91x/mcu/drivers/service/sensorhub/inc/sensor_hub.h

channel#

uint16_t sl_sensor_info_t::channel

Channel for adc.


Definition at line 203 of file components/device/silabs/si91x/mcu/drivers/service/sensorhub/inc/sensor_hub.h

@3#

union sl_sensor_info_t::@2 sl_sensor_info_t::@3

Definition at line 204 of file components/device/silabs/si91x/mcu/drivers/service/sensorhub/inc/sensor_hub.h

sensor_id#

sl_sensor_id_t sl_sensor_info_t::sensor_id

Sensor id.


Definition at line 205 of file components/device/silabs/si91x/mcu/drivers/service/sensorhub/inc/sensor_hub.h

sensor_bus#

sl_sensor_bus_t sl_sensor_info_t::sensor_bus

Protocol for the sensor(spi/i2c/adc)


Definition at line 206 of file components/device/silabs/si91x/mcu/drivers/service/sensorhub/inc/sensor_hub.h

sensor_mode#

sl_sensor_mode_t sl_sensor_info_t::sensor_mode

Sensor Mode(Enumeration)


Definition at line 207 of file components/device/silabs/si91x/mcu/drivers/service/sensorhub/inc/sensor_hub.h

sensor_range#

sl_sensor_range_t sl_sensor_info_t::sensor_range

Range of sensor.


Definition at line 208 of file components/device/silabs/si91x/mcu/drivers/service/sensorhub/inc/sensor_hub.h

data_deliver#

sl_data_deliver_type_t sl_sensor_info_t::data_deliver

Data delivery mode for the sensor.


Definition at line 209 of file components/device/silabs/si91x/mcu/drivers/service/sensorhub/inc/sensor_hub.h

sensor_data_ptr#

sl_sensor_data_group_t* sl_sensor_info_t::sensor_data_ptr

Pointer to Sensor data storage structure.


Definition at line 210 of file components/device/silabs/si91x/mcu/drivers/service/sensorhub/inc/sensor_hub.h