modm API documentation
modm::Hmc6343< I2cMaster >::Data Struct Reference

Public Member Functions

int16_t getHeading ()
 returns the heading in tenth of degrees (0 -> 3600)
 
int16_t getPitch ()
 returns the Pitch in tenth of degrees (-900 -> 0 -> 900)
 
int16_t getRoll ()
 returns the Roll in tenth of degrees (-900 -> 0 -> 900)
 
int16_t getTemperature ()
 returns the temperature in unknown format (was not specified in datasheet)
 
OperationMode_t getOperationMode ()
 returns the value of the operation mode register
 
int16_t operator[] (uint8_t index)
 
int16_t getAccelerationX ()
 
int16_t getAccelerationY ()
 
int16_t getAccelerationZ ()
 
int16_t getMagneticFieldX ()
 
int16_t getMagneticFieldY ()
 
int16_t getMagneticFieldZ ()
 

Friends

template<class I2cMaster >
class Hmc6343
 

Member Function Documentation

template<class I2cMaster >
int16_t modm::Hmc6343< I2cMaster >::Data::getAccelerationX ( )
inline

returns the acceleration in unknown units

template<class I2cMaster >
int16_t modm::Hmc6343< I2cMaster >::Data::getMagneticFieldX ( )
inline

returns the magnetic field in unknown units


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