Sensor select utility#
Utility for selecting I2C sensors, designed for Thunderboard.
Functions#
sl_i2cspm_t *
sl_sensor_select(sl_board_sensor_t sensor)
Function Documentation#
sl_sensor_select#
sl_i2cspm_t * sl_sensor_select (sl_board_sensor_t sensor)
Parameters
[in] | sensor | Sensor to be selected. |
Select I2C peripheral for a given sensor. Returns
Pointer to the I2C peripheral. NULL if sensor is not available.
Definition at line
47
of file common/sensor_select/sl_sensor_select.h