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#
sampling_intr_req_pin#
uint16_t sl_sensor_info_t::sampling_intr_req_pin
GPIO pin for sampling the sensor data.
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.