Pololu3piPlus32U4 library
Classes | Namespaces | Enumerations
Pololu3piPlus32U4IMU_declaration.h File Reference
#include <Arduino.h>

Go to the source code of this file.

Classes

class  Pololu3piPlus32U4::IMU
 Interfaces with the inertial sensors on the 3pi+ 32U4. More...
 
struct  Pololu3piPlus32U4::IMU::vector< T >
 Represents a 3-dimensional vector with x, y, and z components. More...
 

Namespaces

 Pololu3piPlus32U4
 Top-level namespace for the Pololu3piPlus32U4 library.
 

Macros

Device Addresses

#define LSM6DS33_ADDR   0b1101011
 
#define LIS3MDL_ADDR   0b0011110
 
Register Addresses

#define LSM6DS33_REG_WHO_AM_I   0x0F
 
#define LSM6DS33_REG_CTRL1_XL   0x10
 
#define LSM6DS33_REG_CTRL2_G   0x11
 
#define LSM6DS33_REG_CTRL3_C   0x12
 
#define LSM6DS33_REG_STATUS_REG   0x1E
 
#define LSM6DS33_REG_OUTX_L_G   0x22
 
#define LSM6DS33_REG_OUTX_L_XL   0x28
 
#define LIS3MDL_REG_WHO_AM_I   0x0F
 
#define LIS3MDL_REG_CTRL_REG1   0x20
 
#define LIS3MDL_REG_CTRL_REG2   0x21
 
#define LIS3MDL_REG_CTRL_REG3   0x22
 
#define LIS3MDL_REG_CTRL_REG4   0x23
 
#define LIS3MDL_REG_STATUS_REG   0x27
 
#define LIS3MDL_REG_OUT_X_L   0x28
 

Enumerations

enum class  Pololu3piPlus32U4::IMUType : uint8_t { Pololu3piPlus32U4::Unknown , Pololu3piPlus32U4::LSM6DS33_LIS3MDL }
 The type of the inertial sensors. More...