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)

Sensor Mode(Enumeration)

sl_sensor_range_t

Range of sensor.

Data delivery mode for the sensor.

sl_sensor_data_group_t *

Sensor data storage structure.

Public Attribute Documentation#

sensor_name#

char* sl_sensor_info_t::sensor_name

Name of the sensor.


Definition at line 175 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 176 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 177 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 178 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 180 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 181 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 182 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 183 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)


Definition at line 184 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 185 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 186 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 187 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

Sensor data storage structure.


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