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

Driver for the ST LSM303D MEMS accelerometer / magnetometer connected via SPI. More...

#include "LSM303D.hpp"
Include dependency graph for LSM303D.cpp:

Go to the source code of this file.

Variables

static constexpr uint8_t _checked_registers []
 

Detailed Description

Driver for the ST LSM303D MEMS accelerometer / magnetometer connected via SPI.

Definition in file LSM303D.cpp.

Variable Documentation

◆ _checked_registers

constexpr uint8_t _checked_registers[]
static
Initial value:
= {
}
#define ADDR_CTRL_REG3
Definition: lps25h.cpp:56
#define ADDR_WHO_AM_I
Definition: lps25h.cpp:52
#define ADDR_CTRL_REG2
Definition: lps25h.cpp:55
#define ADDR_CTRL_REG7
Definition: LSM303D.hpp:68
#define ADDR_CTRL_REG5
Definition: l3gd20.cpp:93
#define ADDR_CTRL_REG4
Definition: lps25h.cpp:57
#define ADDR_CTRL_REG1
Definition: lps25h.cpp:54
#define ADDR_CTRL_REG6
Definition: LSM303D.hpp:67

Definition at line 45 of file LSM303D.cpp.

Referenced by LSM303D::check_registers(), LSM303D::print_info(), and LSM303D::write_checked_reg().