aboutsummaryrefslogtreecommitdiff
path: root/simplemotion.h
diff options
context:
space:
mode:
authorTero K <tero.k@granitedevices.fi>2016-01-04 12:52:41 +0200
committerTero K <tero.k@granitedevices.fi>2016-01-04 12:52:41 +0200
commitb912f6291444b32015ff302af6669cf2b760e985 (patch)
treedde0730a14cf00db93ea165a5689e3cbe564e8a6 /simplemotion.h
parent5d68b4d61c13de9ee63530c1ea8bfaf32df3ce51 (diff)
downloadSimpleMotionV2-b912f6291444b32015ff302af6669cf2b760e985.tar.gz
SimpleMotionV2-b912f6291444b32015ff302af6669cf2b760e985.zip
Added smFastUpdateCycle function
Diffstat (limited to 'simplemotion.h')
-rw-r--r--simplemotion.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/simplemotion.h b/simplemotion.h
index 28743c4..056c745 100644
--- a/simplemotion.h
+++ b/simplemotion.h
@@ -134,6 +134,10 @@ LIB SM_STATUS smSetParameter( const smbus handle, const smaddr nodeAddress, cons
LIB SM_STATUS smGetBufferClock( const smbus handle, const smaddr targetaddr, smuint16 *clock );
+/** smFastUpdateCycle uses special SimpleMotion command to perform fast turaround communication. May be used with cyclic real time control. Parameter & return data
+ *content are application specific and defined . */
+LIB SM_STATUS smFastUpdateCycle( smbus handle, smuint8 nodeAddress, smuint16 write1, smuint16 write2, smuint16 *read1, smuint16 *read2);
+
#ifdef __cplusplus
}
#endif