PX4 Firmware
PX4 Autopilot Software http://px4.io
icm20948.cpp File Reference

Driver for the Invensense ICM20948 connected via I2C or SPI. More...

#include <px4_platform_common/px4_config.h>
#include <px4_platform_common/time.h>
#include <lib/ecl/geo/geo.h>
#include <lib/perf/perf_counter.h>
#include <systemlib/conversions.h>
#include <systemlib/px4_macros.h>
#include <drivers/drv_hrt.h>
#include <drivers/device/spi.h>
#include <lib/conversion/rotation.h>
#include "ICM20948_mag.h"
#include "icm20948.h"
Include dependency graph for icm20948.cpp:

Go to the source code of this file.

Macros

#define ICM20948_TIMER_REDUCTION   200
 
#define ACCEL_RANGE_G   16
 

Detailed Description

Driver for the Invensense ICM20948 connected via I2C or SPI.

based on the icm20948 driver

Definition in file icm20948.cpp.

Macro Definition Documentation

◆ ACCEL_RANGE_G

#define ACCEL_RANGE_G   16

Definition at line 65 of file icm20948.cpp.

Referenced by ICM20948::reset_mpu().

◆ ICM20948_TIMER_REDUCTION

#define ICM20948_TIMER_REDUCTION   200

Definition at line 62 of file icm20948.cpp.

Referenced by ICM20948::start().