From 927d9bdd30027b0e8add782e7f54624463dab369 Mon Sep 17 00:00:00 2001 From: Tero Kontkanen Date: Wed, 10 May 2017 01:11:09 +0300 Subject: Changed serial encoder mode definitions --- simplemotion_defs.h | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/simplemotion_defs.h b/simplemotion_defs.h index 15a749f..a23af35 100644 --- a/simplemotion_defs.h +++ b/simplemotion_defs.h @@ -455,15 +455,13 @@ * ^^ sum of MT and ST must be max 32 * bits 16-19: serial encoder mode (see below) * rest: reserved for future use (always 0) - */ - /* - * Serial encoder read modes + * + * Serial encoder read modes (bits 16-19): * 0 BiSS C - * 1 BiSS C gray - * 2 BiSS B - * 3 SSI - * 4 SSI gray - * 5 AMS SSI + * 1 BiSS B + * 2 SSI + * 3 SSI gray + * 4 AMS SSI */ #define SMP_SERIAL_ENC_BITS 574 -- cgit v1.2.3