6#ifndef __PERIPHERAL_MODBUS_CFG_IDL__
7#define __PERIPHERAL_MODBUS_CFG_IDL__
15 enumeration Parity { NONE, EVEN, ODD };
22 enumeration ModbusFunction {
29 constant
int EXCEPTION_ILLEGAL_FUNCTION = 1;
30 constant
int EXCEPTION_ILLEGAL_DATA_ADDRESS = 2;
31 constant
int EXCEPTION_ILLEGAL_DATA_VALUE = 3;
32 constant
int EXCEPTION_SLAVE_OR_SERVER_FAILURE = 4;
33 constant
int EXCEPTION_ACKNOWLEDGE = 5;
34 constant
int EXCEPTION_SLAVE_OR_SERVER_BUSY = 6;
35 constant
int EXCEPTION_NEGATIVE_ACKNOWLEDGE = 7;
36 constant
int EXCEPTION_MEMORY_PARITY = 8;
37 constant
int EXCEPTION_GATEWAY_PATH = 10;
38 constant
int EXCEPTION_GATEWAY_TARGET = 11;
40 enumeration SpecificModbusErrors {