CCIMXDesktop
 
Loading...
Searching...
No Matches
ICM20608 Class Reference

Interface for ICM20608 inertial measurement unit (IMU) sensor. More...

#include <icm20608_adapter.h>

Public Member Functions

 ICM20608 ()=default
 Default constructor.
 
ICM20608operator= (const ICM20608 &)=delete
 Deleted copy assignment.
 
 ICM20608 (const ICM20608 &)=delete
 Deleted copy constructor.
 
bool get_package_sync (ICM20608AppData &empty_data_pack)
 Synchronously reads sensor data package.
 
ICM20608operator= (const ICM20608 &)=delete
 Disable copy assignment and copy constructor.
 
 ICM20608 (const ICM20608 &)=delete
 
bool get_package_sync (ICM20608AppData &empty_data_pack)
 Synchronously get sensor data package.
 

Detailed Description

Interface for ICM20608 inertial measurement unit (IMU) sensor.

Interface class to communicate with ICM20608 sensor device.

This class provides platform-agnostic access to ICM20608 sensor data, with implementations for both Windows and UNIX-like systems.

Constructor & Destructor Documentation

◆ ICM20608()

ICM20608::ICM20608 ( )
default

Default constructor.

Note
Uses compiler-generated default implementation

Member Function Documentation

◆ get_package_sync() [1/2]

bool ICM20608::get_package_sync ( ICM20608AppData empty_data_pack)

Synchronously reads sensor data package.

Parameters
empty_data_packReference to data structure to be filled with sensor readings
Returns
true if data was successfully read and is valid, false otherwise
Note
This is the main interface method for getting sensor data

◆ get_package_sync() [2/2]

bool ICM20608::get_package_sync ( ICM20608AppData empty_data_pack)

Synchronously get sensor data package.

Parameters
empty_data_packReference to data struct to fill.
Returns
true if data is valid.

The documentation for this class was generated from the following files: