aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTero Kontkanen <tero.kontkanen@granitedevices.fi>2017-05-10 01:11:09 +0300
committerTero Kontkanen <tero.kontkanen@granitedevices.fi>2017-05-10 01:11:09 +0300
commit927d9bdd30027b0e8add782e7f54624463dab369 (patch)
tree60d3358aa55806b3653f9e98bdd9bc303cc5e228
parentb5023d0af5bee1272fcc7217b5d1be23bd113430 (diff)
downloadSimpleMotionV2-927d9bdd30027b0e8add782e7f54624463dab369.tar.gz
SimpleMotionV2-927d9bdd30027b0e8add782e7f54624463dab369.zip
Changed serial encoder mode definitions
-rw-r--r--simplemotion_defs.h14
1 files 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