CTL_STATUS_t bma150_read_die_temperature(CTL_ACCELEROMETER_t *self, float *temp);
bma150_read_die_temperature reads the sensor's internal temperature register and writes the temperature, in degrees Celsius, to the float pointed to by temp.
bma150_read_die_temperature returns a standard status code. If the status indicates an error, the returned sample data is undefined.
bma150_read_die_temperature is thread-safe if the transport member in self is thread-safe. Typically, for SPI and I2C transports, you ensure thread safety by associating a mutex with the bus used by the transport.