diff options
Diffstat (limited to 'decoders')
-rw-r--r-- | decoders/ade77xx/__init__.py (renamed from decoders/ade7758/__init__.py) | 7 | ||||
-rw-r--r-- | decoders/ade77xx/lists.py (renamed from decoders/ade7758/lists.py) | 0 | ||||
-rw-r--r-- | decoders/ade77xx/pd.py (renamed from decoders/ade7758/pd.py) | 8 |
3 files changed, 9 insertions, 6 deletions
diff --git a/decoders/ade7758/__init__.py b/decoders/ade77xx/__init__.py index 0911cc7..cbe8689 100644 --- a/decoders/ade7758/__init__.py +++ b/decoders/ade77xx/__init__.py @@ -20,10 +20,13 @@ ''' This decoder stacks on top of the 'spi' PD and decodes Analog Devices -ADE7758 command/responses. +ADE77xx command/responses. -The ADE7758 is a "Poly Phase Multifunction Energy Metering IC with Per Phase +The ADE77xx is a "Poly Phase Multifunction Energy Metering IC with Per Phase Information". + +This PD has been tested with an ADE7758 so far, support for other devices +from the ADE77xx series can be added in the future. ''' from .pd import Decoder diff --git a/decoders/ade7758/lists.py b/decoders/ade77xx/lists.py index f556389..f556389 100644 --- a/decoders/ade7758/lists.py +++ b/decoders/ade77xx/lists.py diff --git a/decoders/ade7758/pd.py b/decoders/ade77xx/pd.py index b56279d..053575e 100644 --- a/decoders/ade7758/pd.py +++ b/decoders/ade77xx/pd.py @@ -27,13 +27,13 @@ from .lists import * class Decoder(srd.Decoder): api_version = 2 - id = 'ade7758' - name = 'ADE7758' - longname = 'Analog Devices ADE7758' + id = 'ade77xx' + name = 'ADE77xx' + longname = 'Analog Devices ADE77xx' desc = 'Poly phase multifunction energy metering IC protocol.' license = 'mit' inputs = ['spi'] - outputs = ['ade7758'] + outputs = ['ade77xx'] annotations = ( ('read', 'Register read commands'), ('write', 'Register write commands'), |