Erick / Mbed 2 deprecated ICE_BLE_TEST

Dependencies:   NaturalTinyShell_ice libmDot-12Sept mbed-rtos mbed

Fork of ICE by Erick

src/ModbusMaster/ModbusMasterApi.h

Committer:
davidjhoward
Date:
2016-10-06
Revision:
190:af7ab603c9fe
Parent:
83:0f76cfbb4eba
Child:
197:594afd088f32

File content as of revision 190:af7ab603c9fe:

#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 );

#endif