CTL_STATUS_t bma250_read_die_temperature(CTL_ACCELEROMETER_t *self, float *temp);
bma250_read_die_temperature reads the sensor's internal temperature register and writes the temperature, in degrees Celsius, to the float pointed to by temp.
bma250_read_die_temperature returns a standard status code. If the status indicates an error, the returned sample data is undefined.
bma250_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.