diff options
| author | Tero K <tero.k@granitedevices.fi> | 2016-01-04 12:52:41 +0200 |
|---|---|---|
| committer | Tero K <tero.k@granitedevices.fi> | 2016-01-04 12:52:41 +0200 |
| commit | b912f6291444b32015ff302af6669cf2b760e985 (patch) | |
| tree | dde0730a14cf00db93ea165a5689e3cbe564e8a6 /sm485.h | |
| parent | 5d68b4d61c13de9ee63530c1ea8bfaf32df3ce51 (diff) | |
| download | SimpleMotionV2-b912f6291444b32015ff302af6669cf2b760e985.tar.gz SimpleMotionV2-b912f6291444b32015ff302af6669cf2b760e985.zip | |
Added smFastUpdateCycle function
Diffstat (limited to 'sm485.h')
| -rw-r--r-- | sm485.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -52,6 +52,14 @@ #define SMCMD_GET_CLOCK SMCMD_ID(10,SMCMD_MASK_0_PARAMS) #define SMCMD_GET_CLOCK_RET SMCMD_ID(10,SMCMD_MASK_2_PARAMS|SMCMD_MASK_RETURN) +// SMCMD_FAST_UPDATE_CYCLE is a high priority command for fast realtime cyclic operation. content and lenght of +// payload data may be application specific and may be controlled by other variables +// cmd u8 ID, u8 toaddr, u32 data u16 crc +// ret u8 ID, u8 fromaddr, u32 data, u16 crc +#define SMCMD_FAST_UPDATE_CYCLE SMCMD_ID(2,SMCMD_MASK_0_PARAMS) +#define SMCMD_FAST_UPDATE_CYCLE_RET SMCMD_ID(2,SMCMD_MASK_0_PARAMS|SMCMD_MASK_RETURN) + + #ifdef PROCESS_IMAGE_SUPPORT //PROCESS_IMAGE communication not supported by SM V2.0.0. placeholders here |
