Paparazzi UAS  v5.2.2_stable-0-gd6b9f29
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Mpu60x0Config Struct Reference

#include <mpu60x0.h>

+ Collaboration diagram for Mpu60x0Config:

Data Fields

uint8_t smplrt_div
 Sample rate divider. More...
 
enum Mpu60x0DLPF dlpf_cfg
 Digital Low Pass Filter. More...
 
enum Mpu60x0GyroRanges gyro_range
 deg/s Range More...
 
enum Mpu60x0AccelRanges accel_range
 g Range More...
 
bool_t drdy_int_enable
 Enable Data Ready Interrupt. More...
 
uint8_t clk_sel
 Clock select. More...
 
uint8_t nb_bytes
 number of bytes to read starting with MPU60X0_REG_INT_STATUS More...
 
enum Mpu60x0ConfStatus init_status
 init status More...
 
bool_t initialized
 config done flag More...
 
bool_t i2c_bypass
 Bypass MPU I2C. More...
 
uint8_t nb_slaves
 number of used I2C slaves More...
 
struct Mpu60x0I2cSlave slaves [5]
 I2C slaves. More...
 
enum Mpu60x0MstClk i2c_mst_clk
 MPU I2C master clock speed. More...
 
uint8_t i2c_mst_delay
 MPU I2C slaves delayed sample rate. More...
 

Detailed Description

Definition at line 73 of file mpu60x0.h.

Field Documentation

enum Mpu60x0AccelRanges Mpu60x0Config::accel_range

g Range

Definition at line 77 of file mpu60x0.h.

Referenced by imu_impl_init(), mpu60x0_send_config(), and mpu60x0_set_default_config().

uint8_t Mpu60x0Config::clk_sel

Clock select.

Definition at line 79 of file mpu60x0.h.

Referenced by mpu60x0_send_config(), and mpu60x0_set_default_config().

enum Mpu60x0DLPF Mpu60x0Config::dlpf_cfg

Digital Low Pass Filter.

Definition at line 75 of file mpu60x0.h.

Referenced by imu_impl_init(), mpu60x0_send_config(), and mpu60x0_set_default_config().

bool_t Mpu60x0Config::drdy_int_enable

Enable Data Ready Interrupt.

Definition at line 78 of file mpu60x0.h.

Referenced by imu_impl_init(), mpu60x0_send_config(), and mpu60x0_set_default_config().

enum Mpu60x0GyroRanges Mpu60x0Config::gyro_range

deg/s Range

Definition at line 76 of file mpu60x0.h.

Referenced by imu_impl_init(), mpu60x0_send_config(), and mpu60x0_set_default_config().

bool_t Mpu60x0Config::i2c_bypass

Bypass MPU I2C.

Only effective if using the I2C implementation.

Definition at line 87 of file mpu60x0.h.

Referenced by imu_impl_init(), mpu60x0_configure_i2c_slaves(), mpu60x0_i2c_event(), and mpu60x0_set_default_config().

enum Mpu60x0MstClk Mpu60x0Config::i2c_mst_clk

MPU I2C master clock speed.

Definition at line 91 of file mpu60x0.h.

Referenced by imu_impl_init(), and mpu60x0_configure_i2c_slaves().

uint8_t Mpu60x0Config::i2c_mst_delay

MPU I2C slaves delayed sample rate.

Definition at line 92 of file mpu60x0.h.

Referenced by imu_impl_init(), and mpu60x0_configure_i2c_slaves().

uint8_t Mpu60x0Config::nb_bytes

number of bytes to read starting with MPU60X0_REG_INT_STATUS

Definition at line 80 of file mpu60x0.h.

Referenced by imu_impl_init(), mpu60x0_i2c_event(), mpu60x0_i2c_read(), mpu60x0_set_default_config(), mpu60x0_spi_event(), and mpu60x0_spi_read().

uint8_t Mpu60x0Config::nb_slaves

number of used I2C slaves

Definition at line 89 of file mpu60x0.h.

Referenced by imu_impl_init(), mpu60x0_i2c_event(), mpu60x0_send_config(), mpu60x0_set_default_config(), and mpu60x0_spi_event().

struct Mpu60x0I2cSlave Mpu60x0Config::slaves[5]

I2C slaves.

Definition at line 90 of file mpu60x0.h.

Referenced by imu_impl_init(), and mpu60x0_configure_i2c_slaves().

uint8_t Mpu60x0Config::smplrt_div

Sample rate divider.

Definition at line 74 of file mpu60x0.h.

Referenced by imu_impl_init(), mpu60x0_send_config(), and mpu60x0_set_default_config().


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