incubator-nuttx/drivers/sensors
Gregory Nutt 63ac1ec423 Cosmetic updates to comments 2015-02-12 13:44:22 -06:00
..
Kconfig Update ChangeLog 2015-02-12 12:21:05 -06:00
Make.defs Update ChangeLog 2015-02-12 12:21:05 -06:00
README.txt Update ChangeLog 2015-02-12 12:21:05 -06:00
adxl345.h Remove reference to used variable 2015-01-31 12:49:51 -06:00
adxl345_base.c ADXL345: Don't select device if only change SPI settings 2014-12-17 12:01:18 -06:00
adxl345_i2c.c Unify sensor debug. ADX driver was using input debug; LM75 and QENCODE that their own custom debug. Now all use CONFIG_DEBUG_SENSOR, sndbg() 2014-12-16 09:54:32 -06:00
adxl345_spi.c Renamed SPIDEV_GSENSOR to SPIDEV_ACCELEROMETER just because it looks better beside SPIDEV_BAROMETER 2015-02-12 12:26:19 -06:00
lis331dl.c Rename kmalloc to kmm_malloc for consistency 2014-08-31 17:26:36 -06:00
lm75.c DK-TM4C129X: Add support for on-board TMP100 temperature sensor 2015-01-06 11:50:56 -06:00
mpl115a.c Cosmetic updates to comments 2015-02-12 13:44:22 -06:00
qencoder.c Unify sensor debug. ADX driver was using input debug; LM75 and QENCODE that their own custom debug. Now all use CONFIG_DEBUG_SENSOR, sndbg() 2014-12-16 09:54:32 -06:00

README.txt

ADXL345
=======

The ADXL345 accelerometer can operate in I2C or SPI mode. To operate in I2C
mode just connect the CS pin to Vddi/o.

In order to operate in SPI mode CS need to use connected to microcontroller,
it cannot leave unconnected.

In SPI mode it works with clock polarity (CPOL) = 1 and clock phase (CPHA) = 1.

MPL115A
=======

This driver has support only for MPL115A1 (SPI), but support to MPL115A2 (I2C) can
be added easily.