Voss Connection Detection  1
Detect a connector click using realtime code on Bela hardware
ICM20948 Class Reference

#include <ICM20948.h>

Public Member Functions

 ICM20948 (int bus, int address)
 
void displayMode (int iterations)
 
int readFullSensorState ()
 
void WakeUp ()
 
void GetScale ()
 
void SetScale250 ()
 
void SetScale2000 ()
 
void ResetChip ()
 
float getGyroX () const
 
float getGyroY () const
 
float getGyroZ () const
 
float getGyroAbs ()
 
float getAccAbs ()
 
float getAccX () const
 
float getAccY () const
 
float getAccZ () const
 
bool error () const
 
void resetError ()
 

Detailed Description

Definition at line 31 of file ICM20948.h.

Constructor & Destructor Documentation

◆ ICM20948()

ICM20948::ICM20948 ( int  bus,
int  address 
)

Definition at line 30 of file ICM20948.cpp.

Member Function Documentation

◆ displayMode()

void ICM20948::displayMode ( int  iterations)

Definition at line 120 of file ICM20948.cpp.

◆ error()

bool ICM20948::error ( ) const
inline

Definition at line 78 of file ICM20948.h.

◆ getAccAbs()

float ICM20948::getAccAbs ( )
inline

Definition at line 72 of file ICM20948.h.

◆ getAccX()

float ICM20948::getAccX ( ) const
inline

Definition at line 74 of file ICM20948.h.

◆ getAccY()

float ICM20948::getAccY ( ) const
inline

Definition at line 75 of file ICM20948.h.

◆ getAccZ()

float ICM20948::getAccZ ( ) const
inline

Definition at line 76 of file ICM20948.h.

◆ getGyroAbs()

float ICM20948::getGyroAbs ( )
inline

Definition at line 71 of file ICM20948.h.

◆ getGyroX()

float ICM20948::getGyroX ( ) const
inline

Definition at line 67 of file ICM20948.h.

◆ getGyroY()

float ICM20948::getGyroY ( ) const
inline

Definition at line 68 of file ICM20948.h.

◆ getGyroZ()

float ICM20948::getGyroZ ( ) const
inline

Definition at line 69 of file ICM20948.h.

◆ GetScale()

void ICM20948::GetScale ( )

Definition at line 139 of file ICM20948.cpp.

◆ readFullSensorState()

int ICM20948::readFullSensorState ( )

Definition at line 50 of file ICM20948.cpp.

◆ ResetChip()

void ICM20948::ResetChip ( )

Definition at line 183 of file ICM20948.cpp.

◆ resetError()

void ICM20948::resetError ( )
inline

Definition at line 79 of file ICM20948.h.

◆ SetScale2000()

void ICM20948::SetScale2000 ( )

Definition at line 149 of file ICM20948.cpp.

◆ SetScale250()

void ICM20948::SetScale250 ( )

Definition at line 166 of file ICM20948.cpp.

◆ WakeUp()

void ICM20948::WakeUp ( )

Definition at line 127 of file ICM20948.cpp.


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