X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=decoders%2Fuart%2F__init__.py;h=ce6136f1b2b706a4180760c05e285965d8c18001;hb=392a5d1ef4bb356be248589dad28d0bd83411c49;hp=a0c9cef0a5cf89e8a00d7f38ba016b4f5a0bc2ac;hpb=4cace3b8485ffd04ed5c07ee81be812c7284c37b;p=libsigrokdecode.git diff --git a/decoders/uart/__init__.py b/decoders/uart/__init__.py index a0c9cef..ce6136f 100644 --- a/decoders/uart/__init__.py +++ b/decoders/uart/__init__.py @@ -14,18 +14,15 @@ ## 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 . ## ''' -UART protocol decoder. - -Universal Asynchronous Receiver Transmitter (UART) is a simple serial +UART (Universal Asynchronous Receiver Transmitter) is a simple serial communication protocol which allows two devices to talk to each other. This decoder should work on all "UART-like" async protocols with one -start bit (0), 7-9 databits, an (optional) parity bit, and one or more +start bit (0), 5-9 databits, an (optional) parity bit, and one or more stop bits (1), in this order. It can be run on one signal line (RX or TX) only, or on two lines (RX + TX). @@ -40,5 +37,4 @@ it though, no matter whether the source was on TTL UART levels, or RS232, or others. ''' -from .pd import * - +from .pd import Decoder