The friendly Operating System for the Internet of Things
mpu9150_status_t Struct Reference

Configuration struct for the MPU-9150 sensor. More...

Detailed Description

Definition at line 149 of file mpu9150.h.

#include <mpu9150.h>

Data Fields

mpu9150_pwr_t accel_pwr
 Accel power status (on/off)
mpu9150_pwr_t gyro_pwr
 Gyro power status (on/off)
mpu9150_pwr_t compass_pwr
 Compass power status (on/off)
mpu9150_gyro_ranges_t gyro_fsr
 Configured gyro full-scale range.
mpu9150_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: