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.


sensor_intr_type#

int16_t sl_sensor_info_t::sensor_intr_type

GPIO Interrupt Configurations.


sampling_intr_req_pin#

uint16_t sl_sensor_info_t::sampling_intr_req_pin

GPIO pin for sampling the sensor data.


sampling_interval#

uint32_t sl_sensor_info_t::sampling_interval

Sensor data sampling interval.


address#

uint8_t sl_sensor_info_t::address

Address of sensor.


channel#

uint16_t sl_sensor_info_t::channel

Channel for adc.


@3#

union sl_sensor_info_t::@2 sl_sensor_info_t::@3

sensor_id#

sl_sensor_id_t sl_sensor_info_t::sensor_id

Sensor id.


sensor_bus#

sl_sensor_bus_t sl_sensor_info_t::sensor_bus

Protocol for the sensor(spi/i2c)


sensor_mode#

sl_sensor_mode_t sl_sensor_info_t::sensor_mode

Sensor Mode(Enumeration)


sensor_range#

sl_sensor_range_t sl_sensor_info_t::sensor_range

Range of sensor.


data_deliver#

sl_data_deliver_type_t sl_sensor_info_t::data_deliver

Data delivery mode for the sensor.


sensor_data_ptr#

sl_sensor_data_group_t* sl_sensor_info_t::sensor_data_ptr

Sensor data storage structure.