incubator-nuttx/drivers/sensors
Gregory Nutt 2244ed46bc nuttx/drivers: Replace irqsave() with enter_critical_section(); replace irqrestore() with leave_critical_section() 2016-02-14 07:32:58 -06:00
..
Kconfig I2C: Fixes/improvements from last massive I2C commits 2016-02-02 07:13:03 -06:00
Make.defs Update ChangeLog 2016-01-17 15:15:01 -06:00
README.txt Update ChangeLog 2015-02-12 12:21:05 -06:00
adxl345.h Remove I2C slave methods from I2C master interface; rename i2c_dev_s to i2c_master_s. 2016-01-30 08:36:47 -06:00
adxl345_base.c I2C: Remove the setfrequency method from the interface 2016-02-01 16:31:13 -06:00
adxl345_i2c.c Add I2C frequency to the i2c_msg_s structure 2016-02-01 14:17:20 -06:00
adxl345_spi.c Remove CONFIG_SPI_OWNBUS: Now it is not just a good idea, it is the law 2016-01-23 18:54:36 -06:00
as5048b.c I2C: Remove setaddress method 2016-02-01 12:14:31 -06:00
bmp180.c I2C: Remove the setfrequency method from the interface 2016-02-01 16:31:13 -06:00
lis331dl.c I2C: Fix some compile time issues found with tools/testbuild.sh 2016-02-01 18:02:56 -06:00
lm75.c I2C: Fixes/improvements from last massive I2C commits 2016-02-02 07:13:03 -06:00
lm92.c I2C: Fixes/improvements from last massive I2C commits 2016-02-02 07:13:03 -06:00
lsm9ds1.c I2C: Remove setaddress method 2016-02-01 12:14:31 -06:00
max6675.c Remove CONFIG_SPI_OWNBUS: Now it is not just a good idea, it is the law 2016-01-23 18:54:36 -06:00
max31855.c Remove CONFIG_SPI_OWNBUS: Now it is not just a good idea, it is the law 2016-01-23 18:54:36 -06:00
mb7040.c I2C: Remove setaddress method 2016-02-01 12:14:31 -06:00
mcp9844.c I2C: Remove setaddress method 2016-02-01 12:14:31 -06:00
mpl115a.c Remove CONFIG_SPI_OWNBUS: Now it is not just a good idea, it is the law 2016-01-23 18:54:36 -06:00
ms58xx.c I2C: Fixes/improvements from last massive I2C commits 2016-02-02 07:13:03 -06:00
qencoder.c drivers/: Fixes to spacing and alignement 2015-10-10 10:41:00 -06:00
zerocross.c nuttx/drivers: Replace irqsave() with enter_critical_section(); replace irqrestore() with leave_critical_section() 2016-02-14 07:32:58 -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.