log.hpp File Reference

MPU Log System. More...

Go to the source code of this file.

Namespaces

 mpud
 MPU Driver namespace.
 
 mpud::log
 Log namespace.
 
 mpud::log::msgs
 Messages namespace.
 

Functions

static esp_err_t mpud::log::errorCheckLogger (esp_err_t x, const char *func, const int line, const char *expr)
 

Variables

static const char mpud::log::msgs::INVALID_ARG [] = "Invalid Argument"
 
static const char mpud::log::msgs::INVALID_STATE [] = "Invalid State"
 
static const char mpud::log::msgs::INVALID_LENGTH [] = "Invalid length"
 
static const char mpud::log::msgs::INVALID_FIFO_RATE [] = "Invalid FIFO rate"
 
static const char mpud::log::msgs::INVALID_SAMPLE_RATE [] = "Invalid Sample rate"
 
static const char mpud::log::msgs::INVALID_TAP_THRESH [] = "Invalid Tap threshold"
 
static const char mpud::log::msgs::DMP_LOAD_FAIL [] = "Failed to load DMP firmware"
 
static const char mpud::log::msgs::DMP_NOT_LOADED [] = "DMP firmware has not been loaded"
 
static const char mpud::log::msgs::UNKNOWN_DMP_CFG_STATE [] = "Unknown DMP config state"
 
static const char mpud::log::msgs::NO_AXIS_PASSED [] = "No Axis passed"
 
static const char mpud::log::msgs::BANK_BOUNDARIES [] = "Bank boundaries overpass"
 
static const char mpud::log::msgs::FIFO_CORRUPTION [] = "FIFO Corruption. Quaternion data outside of the acceptable threshold"
 
static const char mpud::log::msgs::AUX_I2C_DISABLED [] = "Auxiliary I2C is disabled"
 
static const char mpud::log::msgs::AUX_I2C_SLAVE_NACK [] = "Auxiliary I2C Slave NACK"
 
static const char mpud::log::msgs::AUX_I2C_LOST_ARB [] = "Auxiliary I2C Master loose abitraion of the bus"
 
static const char mpud::log::msgs::COMPASS_DISABLED [] = "Compass is disabled"
 
static const char mpud::log::msgs::NOT_SUPPORTED [] = "Not supported"
 
static const char mpud::log::msgs::TIMEOUT [] = "Timeout"
 
static const char mpud::log::msgs::EMPTY [] = ""
 

Detailed Description

MPU Log System.

Attention
This header is intended to be used ONLY inside the library itself Do not include this file in your application.