summaryrefslogtreecommitdiff
path: root/decoders/ds2432/__init__.py
diff options
context:
space:
mode:
authorKevin Redon <kingkevin@cuvoodoo.info>2017-10-19 09:08:42 +0200
committerUwe Hermann <uwe@hermann-uwe.de>2017-10-19 11:41:14 +0200
commit444960cc19c62edab0b259c06b03fa096f9d5a72 (patch)
treeca554a6e0b3df59794809a3d813e79f149884965 /decoders/ds2432/__init__.py
parenta2860c196030e01eced903469e566079466b5429 (diff)
downloadlibsigrokdecode-444960cc19c62edab0b259c06b03fa096f9d5a72.tar.gz
libsigrokdecode-444960cc19c62edab0b259c06b03fa096f9d5a72.zip
ds2432: Add a Maxim DS2432 protocol decoder.
This fixes (parts of) bug #1019.
Diffstat (limited to 'decoders/ds2432/__init__.py')
-rw-r--r--decoders/ds2432/__init__.py25
1 files changed, 25 insertions, 0 deletions
diff --git a/decoders/ds2432/__init__.py b/decoders/ds2432/__init__.py
new file mode 100644
index 0000000..7664b5b
--- /dev/null
+++ b/decoders/ds2432/__init__.py
@@ -0,0 +1,25 @@
+##
+## This file is part of the libsigrokdecode project.
+##
+## Copyright (C) 2017 Kevin Redon <kingkevin@cuvoodoo.info>
+##
+## This program is free software; you can redistribute it and/or modify
+## it under the terms of the GNU General Public License as published by
+## the Free Software Foundation; either version 2 of the License, or
+## (at your option) any later version.
+##
+## This program is distributed in the hope that it will be useful,
+## but WITHOUT ANY WARRANTY; without even the implied warranty of
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+## GNU General Public License for more details.
+##
+## You should have received a copy of the GNU General Public License
+## along with this program; if not, see <http://www.gnu.org/licenses/>.
+##
+
+'''
+This decoder stacks on top of the 'onewire_network' PD and decodes the
+Maxim DS2432 (1-Wire 1Kbit protected EEPROM with SHA-1 engine) protocol.
+'''
+
+from .pd import Decoder