summaryrefslogtreecommitdiff
path: root/decoders/sdcard_sd/__init__.py
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2015-08-06 19:27:04 +0200
committerUwe Hermann <uwe@hermann-uwe.de>2015-08-06 19:28:58 +0200
commit08c41387ca016a59c041c8bc76efab037da5894a (patch)
tree146ccb797a9ccf1eb242da818815297f6a9d18a2 /decoders/sdcard_sd/__init__.py
parentfbff319f0a65e2d87a609f77a32b26ef200a5215 (diff)
downloadlibsigrokdecode-08c41387ca016a59c041c8bc76efab037da5894a.tar.gz
libsigrokdecode-08c41387ca016a59c041c8bc76efab037da5894a.zip
Add initial SD card (SD mode) decoder.
In the current state the decoder can decode the following commands: CMD0, CMD2, CMD3, CMD6, CMD7, CMD8, CMD9, CMD10, CMD13, CMD16, CMD55, ACMD6, ACMD13, ACMD41, ACMD51. Other commands (and more details for existing commands) will be added later.
Diffstat (limited to 'decoders/sdcard_sd/__init__.py')
-rw-r--r--decoders/sdcard_sd/__init__.py25
1 files changed, 25 insertions, 0 deletions
diff --git a/decoders/sdcard_sd/__init__.py b/decoders/sdcard_sd/__init__.py
new file mode 100644
index 0000000..a05f21a
--- /dev/null
+++ b/decoders/sdcard_sd/__init__.py
@@ -0,0 +1,25 @@
+##
+## This file is part of the sigrok project.
+##
+## Copyright (C) 2015 Uwe Hermann <uwe@hermann-uwe.de>
+##
+## 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
+##
+
+'''
+SD card (SD mode) low-level protocol decoder.
+'''
+
+from .pd import Decoder