acc_sensor_connected

Function acc_sensor_connected 

Source
pub unsafe extern "C" fn acc_sensor_connected(
    sensor_id: acc_sensor_id_t,
) -> bool
Expand description

@brief Check if a sensor is connected and responsive

Note that the sensor must be powered on before calling this function.

@param[in] sensor_id The sensor id to be used to communicate with @return true if it is possible to communicate with the sensor