summaryrefslogtreecommitdiff
path: root/decoders/mdio/__init__.py
diff options
context:
space:
mode:
authorAurelien Jacobs <aurel@gnuage.org>2015-06-06 22:05:06 +0200
committerUwe Hermann <uwe@hermann-uwe.de>2015-07-09 21:00:25 +0200
commite4302cbe5cb375a50bd9a30a8a2855d9fa6ab14d (patch)
tree02f0cb370ec8616364f1619fc8d6031f4d507754 /decoders/mdio/__init__.py
parent295b78c7d971e1abd7021d88415523ad66a3e448 (diff)
downloadlibsigrokdecode-e4302cbe5cb375a50bd9a30a8a2855d9fa6ab14d.tar.gz
libsigrokdecode-e4302cbe5cb375a50bd9a30a8a2855d9fa6ab14d.zip
Add an MDIO/SMI decoder.
Diffstat (limited to 'decoders/mdio/__init__.py')
-rw-r--r--decoders/mdio/__init__.py29
1 files changed, 29 insertions, 0 deletions
diff --git a/decoders/mdio/__init__.py b/decoders/mdio/__init__.py
new file mode 100644
index 0000000..d9028a3
--- /dev/null
+++ b/decoders/mdio/__init__.py
@@ -0,0 +1,29 @@
+##
+## This file is part of the libsigrokdecode project.
+##
+## Copyright (C) 2014 Aurelien Jacobs <aurel@gnuage.org>
+##
+## 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
+##
+
+'''
+The MDIO (Management Data Input/Output) protocol decoder supports the
+MII Management serial bus, with a clock line (MDC) and a bi-directional
+data line (MDIO).
+
+MDIO is also known as SMI (Serial Management Interface).
+'''
+
+from .pd import Decoder