CTL_STATUS_t ctl_temperature_sensor_measure(CTL_TEMPERATURE_SENSOR_t *self, float *temperature);
ctl_temperature_sensor_measure samples the temperature sensor self and reports the temperature in degrees Celsius to temperature.
ctl_temperature_sensor_measure returns a standard status code. If the status indicates an error, the returned sample data is undefined.
ctl_temperature_sensor_measure is thread-safe if the method measure is thread-safe. Typically, for SPI and I2C transports, you ensure thread safety by associating a mutex with the bus used by the transport.