ConOpSys V2970
P004.07
ANVILEX control operating system
ConOpSys
Defines
Device_Test_Mode_Index.h
Go to the documentation of this file.
1
//------------------------------------------------------------------------------
2
//! @file Device_Test_Mode_Index.h
3
//! @brief ConOpSys standard device test mode index file.
4
//! @attention No special attention requered.
5
//! @copyright (C) 2019-2020 ANVILEX LLC
6
//! $HeadURL: https://192.168.3.4:8443/svn/P004_07/ConOpSys/Defines/Device_Test_Mode_Index.h $
7
//! $Revision: 2877 $
8
//! $Date: 2021-10-18 23:04:26 +0500 (Mo, 18 Okt 2021) $
9
//! $Author: minch $
10
//------------------------------------------------------------------------------
11
//
12
// Redistribution and use in source and binary forms, with or without
13
// modification, are permitted provided that the following conditions are met:
14
//
15
// 1. Redistributions of source code must retain the above copyright notice,
16
// this list of conditions and the following disclaimer.
17
//
18
// 2. Redistributions in binary form must reproduce the above copyright notice,
19
// this list of conditions and the following disclaimer in the documentation
20
// and/or other materials provided with the distribution.
21
//
22
// 3. Neither the name of ANVILEX nor the names of its contributors may be
23
// used to endorse or promote products derived from this software without
24
// specific prior written permission.
25
//
26
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
27
// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
28
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
29
// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
30
// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
31
// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
32
// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
33
// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
34
// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
35
// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
36
// POSSIBILITY OF SUCH DAMAGE.
37
//------------------------------------------------------------------------------
38
39
//------------------------------------------------------------------------------
40
// Protecting header files from mutual, recursive inclusion.
41
//------------------------------------------------------------------------------
42
43
#pragma once
44
45
//------------------------------------------------------------------------------
46
// Include standard libraries header files
47
//------------------------------------------------------------------------------
48
49
//------------------------------------------------------------------------------
50
// Include thrid party header files
51
//------------------------------------------------------------------------------
52
53
//------------------------------------------------------------------------------
54
// Include ConOpSys header files
55
//------------------------------------------------------------------------------
56
57
#include "
Defines.h
"
58
59
//------------------------------------------------------------------------------
60
//! @brief ConOpSys device test mode index list
61
//------------------------------------------------------------------------------
62
63
#define DEVICE_TEST_MODE_REGULAR_OPERATION (U32)0
64
65
#define DEVICE_TEST_MODE_DIGITAL_IO (U32)1
66
67
#define DEVICE_TEST_MODE_GSI_VOLTAGE_VECTOR (U32)2
68
#define DEVICE_TEST_MODE_RSI_VOLTAGE_VECTOR (U32)3
69
#define DEVICE_TEST_MODE_GSI_CURRENT_VECTOR (U32)4
70
#define DEVICE_TEST_MODE_RSI_CURRENT_VECTOR (U32)5
71
72
#define DEVICE_TEST_MODE_DC_BUS_BALLAST (U32)6
73
#define DEVICE_TEST_MODE_GSI_CURRENT_CONTROL_UNDER_DC_BUS_PRECHARGE (U32)7
74
#define DEVICE_TEST_MODE_RSI_CURRENT_CONTROL_UNDER_DC_BUS_PRECHARGE (U32)8
75
#define DEVICE_TEST_MODE_WATCHDOG (U32)9
76
#define DEVICE_TEST_MODE_RSI_CURRENT_CONTROL_UNDER_DC_BUS_REGULATION (U32)10
77
#define DEVICE_TEST_MODE_DC_BUS_BALLAST_STAND_ALONE_TEST (U32)11
78
79
#define DEVICE_TEST_MODE_LSI_VOLTAGE_VECTOR_UNDER_EXTERN_SUPPLY (U32)12
80
#define DEVICE_TEST_MODE_LSI_VOLTAGE_VECTOR_UNDER_DC_BUS_PRECHARGE (U32)13
81
#define DEVICE_TEST_MODE_LSI_VOLTAGE_VECTOR_UNDER_DC_BUS_RECTIFICATION (U32)14
82
#define DEVICE_TEST_MODE_LSI_VOLTAGE_VECTOR_UNDER_DC_BUS_REGULATION (U32)15
83
84
#define DEVICE_TEST_MODE_LSI_CURRENT_VECTOR_UNDER_EXTERN_SUPPLY (U32)16
85
#define DEVICE_TEST_MODE_LSI_CURRENT_VECTOR_UNDER_DC_BUS_PRECHARGE (U32)17
86
#define DEVICE_TEST_MODE_LSI_CURRENT_VECTOR_UNDER_DC_BUS_RECTIFICATION (U32)18
87
#define DEVICE_TEST_MODE_LSI_CURRENT_VECTOR_UNDER_DC_BUS_REGULATION (U32)19
88
89
#define DEVICE_TEST_MODE_LSI_CURRENT_CONTROL_UNDER_EXTERN_SUPLY (U32)20
90
#define DEVICE_TEST_MODE_LSI_CURRENT_CONTROL_UNDER_DC_BUS_PRECHARGE (U32)21
91
#define DEVICE_TEST_MODE_LSI_CURRENT_CONTROL_UNDER_DC_BUS_RECTIFICATION (U32)22
92
#define DEVICE_TEST_MODE_LSI_CURRENT_CONTROL_UNDER_DC_BUS_REGULATION (U32)23
93
94
#define TEST_MODE_LAST_INDEX DEVICE_TEST_MODE_LSI_CURRENT_CONTROL_UNDER_DC_BUS_REGULATION
95
96
// ANVILEX: To remove after the test
97
/*
98
#define TEST_MODE_NONE ((U32)0)
99
#define TEST_MODE_TEST_DIO ((U32)1)
100
#define TEST_MODE_VOLTAGE_VECTOR ((U32)2)
101
#define TEST_MODE_CURRENT_VECTOR ((U32)3)
102
103
#define TEST_MODE_GSI_VOLTAGE_VECTOR ((U32)4)
104
#define TEST_MODE_RSI_VOLTAGE_VECTOR ((U32)5)
105
106
#define TEST_MODE_BALLAST_MODE_1 ((U32)6)
107
108
#define TEST_MODE_GSI_CURRENT_VECTOR ((U32)7)
109
#define TEST_MODE_RSI_CURRENT_VECTOR ((U32)8)
110
111
#define TEST_MODE_WATCHDOG ((U32)9)
112
//#define TEST_MODE_RSI_CURRENT_REGULATION_UNDER_DC_BUS_REGULATION ((U32)10)
113
114
#define TEST_MODE_BALLAST_MODE_2 ((U32)11)
115
*/
116
117
//------------------------------------------------------------------------------
118
// End of file
119
//------------------------------------------------------------------------------
Defines.h
ConOpSys data type definitions header file.
Generated on Thu Mar 10 2022 03:50:14 for ConOpSys V2970 by
1.9.1