[riot-notifications] [RIOT-OS/RIOT] drivers: Add AD7746 capacitance sensor driver (#10919)

Leandro Lanzieri notifications at github.com
Fri Feb 1 13:29:51 CET 2019


### Contribution description
This PR adds the driver and SAUL integration for the AD7746 capacitance sensor. It is commonly used in [capacitive touch applications](https://www.sparkfun.com/products/retired/7918). Datasheet can be found [here](https://www.analog.com/media/en/technical-documentation/data-sheets/ad7745_7746.pdf).

### Testing procedure
- With the test application:
```
cd tests/driver_ad7746
make all flash term
```
- With the SAUL test application:
```
cd tests/saul
USEMODULE=ad7746 make all flash term
```

### Issues/PRs references

You can view, comment on, or merge this pull request online at:

  https://github.com/RIOT-OS/RIOT/pull/10919

-- Commit Summary --

  * drivers: Add driver for AD7746 capacitance sensor
  * tests: add test application for ad7746 driver
  * drivers/saul: Add capacitance sensor type
  * sys/phydat: Add capacitance unit (F)
  * drivers/ad7746: Add SAUL integration

-- File Changes --

    M drivers/Makefile.dep (4)
    M drivers/Makefile.include (4)
    A drivers/ad7746/Makefile (1)
    A drivers/ad7746/ad7746.c (288)
    A drivers/ad7746/ad7746_saul.c (45)
    A drivers/ad7746/include/ad7746_internal.h (135)
    A drivers/ad7746/include/ad7746_params.h (97)
    A drivers/include/ad7746.h (279)
    M drivers/include/saul.h (1)
    M drivers/saul/saul_str.c (1)
    M sys/auto_init/auto_init.c (4)
    A sys/auto_init/saul/auto_init_ad7746.c (76)
    M sys/include/phydat.h (1)
    M sys/phydat/phydat_str.c (1)
    A tests/driver_ad7746/Makefile (6)
    A tests/driver_ad7746/main.c (87)

-- Patch Links --

https://github.com/RIOT-OS/RIOT/pull/10919.patch
https://github.com/RIOT-OS/RIOT/pull/10919.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/10919
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190201/f0891efb/attachment-0001.html>


More information about the notifications mailing list