aboutsummaryrefslogtreecommitdiff
path: root/simplemotion_private.h
diff options
context:
space:
mode:
authorTero K <tero.k@granitedevices.fi>2016-02-06 22:59:27 +0200
committerTero K <tero.k@granitedevices.fi>2016-02-06 22:59:27 +0200
commit3aba0a728b64908ee9caeaf751ca37fc0defa443 (patch)
tree6401ed5009bfb27e6b7ea3f3788aa4aa77da8dec /simplemotion_private.h
parent3e9e8397f186f69e9b12691bc2f92077bfab484e (diff)
downloadSimpleMotionV2-3aba0a728b64908ee9caeaf751ca37fc0defa443.tar.gz
SimpleMotionV2-3aba0a728b64908ee9caeaf751ca37fc0defa443.zip
Started development of buffered motion API. Compiles but not tested.
Diffstat (limited to 'simplemotion_private.h')
-rw-r--r--simplemotion_private.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/simplemotion_private.h b/simplemotion_private.h
index 1c80780..c56363e 100644
--- a/simplemotion_private.h
+++ b/simplemotion_private.h
@@ -43,6 +43,8 @@ extern FILE *smDebugOut; //such as stderr or file handle. if NULL, debug info di
extern smuint16 readTimeoutMs;
void smDebug( smbus handle, smVerbosityLevel verbositylevel, char *format, ...);
+//accumulates status to internal variable by ORing the bits. returns same value that is fed as paramter
+SM_STATUS recordStatus( const smbus handle, const SM_STATUS stat );
SM_STATUS smRawCmd( const char *axisname, smuint8 cmd, smuint16 val, smuint32 *retdata );