Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
Loading...
Searching...
No Matches
enums.hpp File Reference
#include "core/assert.hpp"
#include "core/enums.hpp"
Include dependency graph for enums.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  iv
 
namespace  iv::comms
 
namespace  iv::comms::modbus
 

Enumerations

enum class  iv::comms::modbus::eExceptionCode {
  iv::comms::modbus::IllegalFunction = 0x01 , iv::comms::modbus::IllegalAddress = 0x02 , iv::comms::modbus::IllegalValue = 0x03 , iv::comms::modbus::ServerFailure = 0x04 ,
  iv::comms::modbus::Acknowledge = 0x05 , iv::comms::modbus::ServerBusy = 0x06 , iv::comms::modbus::GatewayProblemPath = 0x0A , iv::comms::modbus::GatewayProblemFailed = 0x0B
}
 
enum class  iv::comms::modbus::eFunctionCode : uint16_t {
  iv::comms::modbus::ReadCoils = 0x01 , iv::comms::modbus::ReadDiscreteInputs = 0x02 , iv::comms::modbus::ReadHoldingRegisters = 0x03 , iv::comms::modbus::ReadInputRegisters = 0x04 ,
  iv::comms::modbus::WriteSingleCoil = 0x05 , iv::comms::modbus::WriteSingleRegister = 0x06 , iv::comms::modbus::WriteCoils = 0x0F , iv::comms::modbus::WriteRegisters = 0x10
}
 
enum class  iv::comms::modbus::eType { iv::comms::modbus::Rtu , iv::comms::modbus::Tcp , iv::comms::modbus::Udp }
 

Functions

iv::comms::modbus::eRegisterType iv::comms::modbus::functionCodeFromRegisterType (const iv::comms::modbus::eFunctionCode functionCode)