summaryrefslogtreecommitdiff
path: root/decoders/ade7758/__init__.py
diff options
context:
space:
mode:
authorKarl Palsson <karlp@etactica.com>2017-01-13 16:55:26 +0000
committerUwe Hermann <uwe@hermann-uwe.de>2017-05-11 23:40:21 +0200
commite439018ad1f9c461ec7a66c03e0c690764149dbc (patch)
treecbaa3f7435faa971773b66e9b2d50581a40f2edb /decoders/ade7758/__init__.py
parent3fa675b4c6500bb0cad1c3bbd891f7ec08ead099 (diff)
downloadlibsigrokdecode-e439018ad1f9c461ec7a66c03e0c690764149dbc.tar.gz
libsigrokdecode-e439018ad1f9c461ec7a66c03e0c690764149dbc.zip
Add an ADE7758 protocol decoder.
No value decoding, that can be fairly complicated. Signed-off-by: Karl Palsson <karlp@etactica.com>
Diffstat (limited to 'decoders/ade7758/__init__.py')
-rw-r--r--decoders/ade7758/__init__.py29
1 files changed, 29 insertions, 0 deletions
diff --git a/decoders/ade7758/__init__.py b/decoders/ade7758/__init__.py
new file mode 100644
index 0000000..0911cc7
--- /dev/null
+++ b/decoders/ade7758/__init__.py
@@ -0,0 +1,29 @@
+##
+## This file is part of the libsigrokdecode project.
+##
+## Copyright (C) 2017 Karl Palsson <karlp@etactica.com>
+##
+## 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, write to the Free Software
+## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+##
+
+'''
+This decoder stacks on top of the 'spi' PD and decodes Analog Devices
+ADE7758 command/responses.
+
+The ADE7758 is a "Poly Phase Multifunction Energy Metering IC with Per Phase
+Information".
+'''
+
+from .pd import Decoder