Configuration struct for the MPU-9X50 sensor. More...

Detailed Description

Configuration struct for the MPU-9X50 sensor.

Definition at line 116 of file mpu9x50.h.

#include <mpu9x50.h>

Data Fields

mpu9x50_pwr_t accel_pwr
 Accel power status (on/off)
 
mpu9x50_pwr_t gyro_pwr
 Gyro power status (on/off)
 
mpu9x50_pwr_t compass_pwr
 Compass power status (on/off)
 
mpu9x50_gyro_ranges_t gyro_fsr
 Configured gyro full-scale range.
 
mpu9x50_accel_ranges_t accel_fsr
 Configured accel full-scale range.
 
uint16_t sample_rate
 Configured sample rate for accel and gyro.
 
uint8_t compass_sample_rate
 Configured compass sample rate.
 
uint8_t compass_x_adj
 Compass X-Axis sensitivity adjustment value.
 
uint8_t compass_y_adj
 Compass Y-Axis sensitivity adjustment value.
 
uint8_t compass_z_adj
 Compass Z-Axis sensitivity adjustment value.
 

The documentation for this struct was generated from the following file: