CTL_STATUS_t itg3200_read_die_temperature(CTL_GYROSCOPE_t *self,
                                          float *temp);

this reads the die temperature of the ITG-3200 into temp.

Return Value

itg3200_read_die_temperature returns a standard status code. If the status indicates an error, the returned sample data is undefined.

Thread Safety

itg3200_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.