Data Fields
sMI_Temperature Struct Reference

internal struct used to save data related to temperature (imu) More...

#include <twi.h>

Data Fields

uint8_t temp_out_h
 
uint8_t temp_out_l
 

Detailed Description

internal struct used to save data related to temperature (imu)

To convert the internal measurement into degrees celsius the following formula should be used:
temp = value / 340 + 36.53

Note
All values are 16-bit wide and stored in order:
High byte first, low byte second.
See also
imu_get(), imu_request() and MI_Temperature

Field Documentation

◆ temp_out_h

uint8_t sMI_Temperature::temp_out_h

temperature (high byte)

◆ temp_out_l

uint8_t sMI_Temperature::temp_out_l
See also
imu_get() and kImuGetTemperature temperature (low byte)

The documentation for this struct was generated from the following file: