INOS
cinosbusmoduledef.h
Go to the documentation of this file.
1//******************************************************************************
27//******************************************************************************
28
29#ifndef INC_CINOSBUSMODULEDEF_H
30#define INC_CINOSBUSMODULEDEF_H
31
32//------------------------------------------------------------------------------
33// defines
34//------------------------------------------------------------------------------
35//
36#define DF_INOS_BUS_MOD_DBT "INOS-BUS-MOD"
38#define DF_INOS_BUS_MOD_ADDR_DEFAULT 0xFFFF
39#define DF_INOS_BUS_MOD_VADDR_DEFAULT 0xFF
40#define DF_INOS_BUS_MOD_VADDR_MIN 0x01
41#define DF_INOS_BUS_MOD_VADDR_MAX 0xFE
43//------------------------------------------------------------------------------
46#define DF_INOS_BUS_MOD_STAT_DISABLED 0
47#define DF_INOS_BUS_MOD_STAT_OFFLINE 1
48#define DF_INOS_BUS_MOD_STAT_ONLINE 2
49#define DF_INOS_BUS_MOD_STAT_READING_EEPROM 3
50#define DF_INOS_BUS_MOD_STAT_WRITING_EEPROM 4
51#define DF_INOS_BUS_MOD_STAT_READING_CONFIG 5
52#define DF_INOS_BUS_MOD_STAT_ISP 6
53#define DF_INOS_BUS_MOD_STAT_GAL_REV 7
55//------------------------------------------------------------------------------
58#define DF_INOS_BUS_MOD_OPTION_AUTO_GEN_IND 0x00000001
59#define DF_INOS_BUS_MOD_OPTION_DO_NOT_CREATE 0x00000002
60#define DF_INOS_BUS_MOD_OPTION_NO_WATCHDOG 0x00000004
61#define DF_INOS_BUS_MOD_OPTION_DO_NOT_SCAN_PORTS 0x00000008
62#define DF_INOS_BUS_MOD_OPTION_DO_NOT_CREATE_PORTS 0x00000010
63#define DF_INOS_BUS_MOD_OPTION_DOWNSAMPLE_3PORT_CHANNELS 0x08000000
64#define DF_INOS_BUS_MOD_OPTION_CHANNEL_NAMES_UNIQUE 0x10000000
65#define DF_INOS_BUS_MOD_OPTION_APPEND_ADDR 0x20000000
66#define DF_INOS_BUS_MOD_OPTION_NO_MOD_NAME_IN_CHANNELS 0x40000000
67#define DF_INOS_BUS_MOD_OPTION_ISPLOAD_AVAILABLE 0x80000000
69//------------------------------------------------------------------------------
72#define DF_INOS_BUS_MOD_ERR_DIAGNOSTIC 0x00000001
73#define DF_INOS_BUS_MOD_ERR_READING_EEPROM 0x00000002
74#define DF_INOS_BUS_MOD_ERR_WRITING_EEPROM 0x00000004
75#define DF_INOS_BUS_MOD_ERR_WRONG_TYPE 0x00000008
76#define DF_INOS_BUS_MOD_ERR_WRONG_VERSION 0x00000010
77#define DF_INOS_BUS_MOD_ERR_WRONG_VENDORID 0x00000020
78#define DF_INOS_BUS_MOD_ERR_WRONG_GALREV 0x00000040
79#define DF_INOS_BUS_MOD_ERR_READING_CONFIG 0x00000080
80#define DF_INOS_BUS_MOD_ERR_WRITING_CONFIG 0x00000100
81#define DF_INOS_BUS_MOD_ERR_NOT_READY 0x00000200
82#define DF_INOS_BUS_MOD_ERR_STATE_CHANGE 0x00000400
84//------------------------------------------------------------------------------
87#define DF_INOS_BUS_MOD_WARN_DIAGNOSTIC 0x00000001
89//------------------------------------------------------------------------------
94
95#define DF_INOS_BUS_MOD_FLG_INCO 0x00000001
96#define DF_INOS_BUS_MOD_FLG_FLOAT 0x00000002
97#define DF_INOS_BUS_MOD_FLG_LITTLE 0x00000004
98#define DF_INOS_BUS_MOD_FLG_THREEPORT 0x00000008
99#define DF_INOS_BUS_MOD_FLG_INCO_512 0x00000010
100#define DF_INOS_BUS_MOD_FLG_SAFETY 0x00000020
101#define DF_INOS_BUS_MOD_FLG_INOSV 0x00000040
102#define DF_INOS_BUS_MOD_FLG_INCOV 0x00000080
103#define DF_INOS_BUS_MOD_FLG_EMERGENCY 0x00000100
104#define DF_INOS_BUS_MOD_FLG_EOG_DEPRECATED 0x00000200
105#define DF_INOS_BUS_MOD_FLG_64BIT 0x00000400
106#define DF_INOS_BUS_MOD_FLG_EOG 0x00000800
107#define DF_INOS_BUS_MOD_FLG_CONFIGCRC 0x00001000
108#define DF_INOS_BUS_MOD_FLG_DIAG 0x00004000
109#define DF_INOS_BUS_MOD_FLG_EXPANDER 0x00008000
111
115#define DF_INOS_BUS_MOD_FLG_OVERWRITE_REC 0x02000000
116#define DF_INOS_BUS_MOD_FLG_OVERWRITE_TRA 0x04000000
117#define DF_INOS_BUS_MOD_FLG_INCO_DONE 0x08000000
118#define DF_INOS_BUS_MOD_FLG_SCAN_VALID 0x10000000
119#define DF_INOS_BUS_MOD_FLG_DYNAMIC 0x20000000
120#define DF_INOS_BUS_MOD_FLG_OUT_AVAILABLE 0x40000000
121#define DF_INOS_BUS_MOD_FLG_INP_AVAILABLE 0x80000000
123//------------------------------------------------------------------------------
126#define DF_INOS_BUS_MOD_FLG_OVERWRITE (DF_INOS_BUS_MOD_FLG_OVERWRITE_REC | DF_INOS_BUS_MOD_FLG_OVERWRITE_TRA)
128
129//------------------------------------------------------------------------------
130
131#endif // INC_CINOSBUSMODULEDEF_H
132
133//------------------------------------------------------------------------------
134// end of file