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
Adxl345Config Struct Reference

#include <adxl345.h>

Data Fields

bool_t drdy_int_enable
 Enable Data Ready Interrupt. More...
 
bool_t int_invert
 Invert Interrupt FALSE: active high, TRUE: active low. More...
 
bool_t full_res
 Full Resolution: FALSE: 10bit, TRUE: full with 4mg/LSB. More...
 
bool_t justify_msb
 justify: FALSE: right with sign-extension, TRUE: MSB (left) More...
 
bool_t self_test
 Enable self-test-force causing shift in output data. More...
 
bool_t spi_3_wire
 Set 3-wire SPI mode, if FALSE: 4-wire SPI mode. More...
 
enum Adxl345Ranges range
 g Range More...
 
enum Adxl345Rates rate
 Data Output Rate. More...
 

Detailed Description

Definition at line 45 of file adxl345.h.

Field Documentation

bool_t Adxl345Config::drdy_int_enable

Enable Data Ready Interrupt.

Definition at line 46 of file adxl345.h.

Referenced by adxl345_i2c_send_config(), adxl345_set_default_config(), and adxl345_spi_send_config().

bool_t Adxl345Config::full_res

Full Resolution: FALSE: 10bit, TRUE: full with 4mg/LSB.

Definition at line 48 of file adxl345.h.

Referenced by adxl345_data_format(), and adxl345_set_default_config().

bool_t Adxl345Config::int_invert

Invert Interrupt FALSE: active high, TRUE: active low.

Definition at line 47 of file adxl345.h.

Referenced by adxl345_data_format(), and adxl345_set_default_config().

bool_t Adxl345Config::justify_msb

justify: FALSE: right with sign-extension, TRUE: MSB (left)

Definition at line 49 of file adxl345.h.

Referenced by adxl345_data_format(), and adxl345_set_default_config().

enum Adxl345Ranges Adxl345Config::range

g Range

Definition at line 52 of file adxl345.h.

Referenced by adxl345_data_format(), adxl345_set_default_config(), and imu_impl_init().

enum Adxl345Rates Adxl345Config::rate

Data Output Rate.

Definition at line 53 of file adxl345.h.

Referenced by adxl345_i2c_send_config(), adxl345_set_default_config(), adxl345_spi_send_config(), and imu_impl_init().

bool_t Adxl345Config::self_test

Enable self-test-force causing shift in output data.

Definition at line 50 of file adxl345.h.

Referenced by adxl345_data_format(), and adxl345_set_default_config().

bool_t Adxl345Config::spi_3_wire

Set 3-wire SPI mode, if FALSE: 4-wire SPI mode.

Definition at line 51 of file adxl345.h.

Referenced by adxl345_data_format(), and adxl345_set_default_config().


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