]> sigrok.org Git - libsigrokdecode.git/blame - decoders/can/__init__.py
can: correct decoding of CRC-21
[libsigrokdecode.git] / decoders / can / __init__.py
CommitLineData
702fa251 1##
50bd5d25 2## This file is part of the libsigrokdecode project.
702fa251
UH
3##
4## Copyright (C) 2012 Uwe Hermann <uwe@hermann-uwe.de>
5##
6## This program is free software; you can redistribute it and/or modify
7## it under the terms of the GNU General Public License as published by
8## the Free Software Foundation; either version 2 of the License, or
9## (at your option) any later version.
10##
11## This program is distributed in the hope that it will be useful,
12## but WITHOUT ANY WARRANTY; without even the implied warranty of
13## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14## GNU General Public License for more details.
15##
16## You should have received a copy of the GNU General Public License
4539e9ca 17## along with this program; if not, see <http://www.gnu.org/licenses/>.
702fa251
UH
18##
19
20'''
4c3b1846
UH
21CAN (Controller Area Network) is a field bus protocol for distributed
22real-time control.
702fa251 23
4c3b1846
UH
24This decoder assumes that a single CAN_RX line is sampled (e.g. on
25the digital output side of a CAN transceiver IC such as the Microchip
26MCP-2515DM-BM).
702fa251
UH
27'''
28
95d11271 29from .pd import Decoder