Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: ICE-Application/src/ModbusMaster/ModbusMasterApi.h
- Revision:
- 2:02cb20446785
- Parent:
- 1:b2e90cda7a5a
--- a/ICE-Application/src/ModbusMaster/ModbusMasterApi.h Tue Jan 24 19:06:45 2017 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,20 +0,0 @@ -#ifndef MODBUSMASTERAPI_H -#define MODBUSMASTERAPI_H - -#include <string> -#include "global.h" - -struct ModbusValue { - float value; - uint32_t errflag; -}; - -bool ModbusMasterReadRegister( const std::string &io_tag, ModbusValue *value ); -bool ModbusMasterWriteRegister( const std::string &io_tag, float value ); -void ModbusMasterExecCmd( ThreadName_t replyTo, char *cmd ); - -bool ScriptWriteRegister( const char *io_tag, double value ); -double ScriptReadRegister( const char *io_tag ); - -#endif -