result_t set_nonvolatile_memory (device_t id, const nonvolatile_memory_t* nonvolatile_memory)
Command code (CMD): "snvm" or 0x6D766E73.
Request: (36 bytes)
INT32U CMD Command
INT32U
UserData
[7]
User data. Can be set by user for his/her convinience. Each element of the array stores only 32 bits of user data.
This is important on systems where an int type contains more than 4 bytes. For example that all amd64 systems.
INT8U
Reserved
[2]
Reserved (2 bytes)
INT16U CRC Checksum
Answer: (4 bytes)
INT32U CMD Command (answer)
Description:
Write userdata into FRAM.
Command GNVM
result_t get_nonvolatile_memory (device_t id, nonvolatile_memory_t* nonvolatile_memory)
Command code (CMD): "gnvm" or 0x6D766E67.
Request: (4 bytes)
INT32U CMD Command
Answer: (36 bytes)
INT32U CMD Command (answer)
INT32U
UserData
[7]
User data. Can be set by user for his/her convinience. Each element of the array stores only 32 bits of user data.
This is important on systems where an int type contains more than 4 bytes. For example that all amd64 systems.
INT8U
Reserved
[2]
Reserved (2 bytes)
INT16U CRC Checksum
Description:
Read userdata from FRAM.
Group of commands movement control
Command STOP
result_t command_stop (device_t id)
Command code (CMD): "stop" or 0x706F7473.
Request: (4 bytes)
INT32U CMD Command
Answer: (4 bytes)
INT32U CMD Command (answer)
Description:
Immediately stop the engine, the transition to the STOP, mode key BREAK (winding short-circuited), the regime "retention" is
deactivated for DC motors, keeping current in the windings for stepper motors (with Power management settings).
Command ASIA
result_t command_add_sync_in_action (device_t id, const command_add_sync_in_action_t* the_command_add_sync_
in_action)
Command code (CMD): "asia" or 0x61697361.