Gregory Nutt 936df1bcb5 Adds new OS internal functions nxsig_sleep() and nxsig_usleep. These differ from the standard sleep() and usleep() in that (1) they don't cause cancellation points, and (2) don't set the errno variable (if applicable). All calls to sleep() and usleep() changed to calls to nxsig_sleep() and nxsig_usleep().
Squashed commit of the following:

    Change all calls to usleep() in the OS proper to calls to nxsig_usleep()

    sched/signal:  Add a new OS internal function nxsig_usleep() that is functionally equivalent to usleep() but does not cause a cancellaption point and does not modify the errno variable.

    sched/signal:  Add a new OS internal function nxsig_sleep() that is functionally equivalent to sleep() but does not cause a cancellaption point.
2017-10-06 10:15:01 -06:00
..
2017-10-04 15:22:27 -06:00
2017-10-04 15:22:27 -06:00
2017-10-04 15:22:27 -06:00
2017-10-04 15:22:27 -06:00
2017-10-04 15:22:27 -06:00
2017-09-30 12:59:33 -06:00
2017-10-04 15:22:27 -06:00
2017-10-04 15:22:27 -06:00
2015-02-12 12:21:05 -06:00
2017-10-04 15:22:27 -06:00
2017-10-04 15:22:27 -06:00

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.