modm API documentation
modm::ixm42xxxdata::FifoPacket Struct Reference

Public Member Functions

constexpr bool containsSensorData () const
 
constexpr bool containsAccelData () const
 
constexpr bool containsGyroData () const
 
constexpr bool containsOdrTimestamp () const
 
constexpr bool containsFsyncTimestamp () const
 
constexpr bool isExtended () const
 
constexpr bool operator== (const FifoPacket &rhs) const
 
int16_t getTemp () const
 
void getTemp (int16_t *temp) const
 
void getTemp (float *temp) const
 
Vector3li getAccel () const
 
void getAccel (Vector3li *accel) const
 
void getAccel (Vector3f *accel, float scale=16.f) const
 
Vector3li getGyro () const
 
void getGyro (Vector3li *gyro) const
 
void getGyro (Vector3f *gyro, float scale=2000.f) const
 
uint16_t getTimestamp () const
 

Static Public Member Functions

static uint16_t parse (std::span< const uint8_t > fifoData, FifoPacket &fifoPacket, uint16_t fifoIndex=0)
 

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