X-Git-Url: https://sigrok.org/gitweb/?p=libsigrokdecode.git;a=blobdiff_plain;f=decoders%2Fsdcard_spi%2F__init__.py;h=a0945162a17332af5e0c377460f5fbd014b3ba81;hp=3b85f58581aed0f0001b28a3c33ca4e15b518874;hb=4539e9ca58966ce3c9cad4801b16c315e86ace01;hpb=47ec18f56d174fbfc6cba9ff76c80518aa90cc46 diff --git a/decoders/sdcard_spi/__init__.py b/decoders/sdcard_spi/__init__.py index 3b85f58..a094516 100644 --- a/decoders/sdcard_spi/__init__.py +++ b/decoders/sdcard_spi/__init__.py @@ -1,5 +1,5 @@ ## -## This file is part of the sigrok project. +## This file is part of the libsigrokdecode project. ## ## Copyright (C) 2012 Uwe Hermann ## @@ -14,14 +14,12 @@ ## 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 +## along with this program; if not, see . ## ''' -SD card (SPI mode) low-level protocol decoder. - -TODO: Description. +This decoder stacks on top of the 'spi' PD and decodes the SD card +(SPI mode) low-level protocol. Most SD cards can be accessed via two different protocols/modes: SD mode or SPI mode. @@ -65,10 +63,6 @@ SPI mode properties (differences to SD mode): * In SPI mode cards cannot guarantee their speed class (the host should assume class 0, no matter what the card indicates). * The RCA register is not accessible in SPI mode. - -Details: -TODO ''' -from .pd import * - +from .pd import Decoder