ds2413: Initial implementation

This adds initial support for the DS2413 Dual Channel Addressable
Switch.  This is a Dallas Semiconductor 1-wire compliant device
providing access to 2 open-drain GPIOs.

https://learn.adafruit.com/adafruit-1-wire-gpio-breakout-ds2413/overview

This driver requires One-Wire over UART support in MRAA (PR #415)
which is not yet merged.

Signed-off-by: Jon Trulson <jtrulson@ics.com>
This commit is contained in:
Jon Trulson
2015-12-16 16:26:25 -07:00
committed by Noel Eck
parent 893b35f77b
commit e1bda1f44b
10 changed files with 562 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
set (libname "ds2413")
set (libdescription "upm DS2413 1-wire Dual Channel Addressable Switch module")
set (module_src ${libname}.cxx)
set (module_h ${libname}.h)
upm_module_init()