CCAux
2.7.2.0
CCAux API reference
Main Page
Namespaces
Data Structures
Files
File List
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
IncludeFiles
DiagnosticCodes.h
Go to the documentation of this file.
1
/************************************************
2
*
3
* CROSSCONTROL AUX API
4
*
5
* DiagnosticCodes.h
6
*
7
* Version 2.7.2.0, 2014-08-25
8
*
9
* (c) maximatecc 2013
10
*
11
* File description: Diagnostic code handling
12
* String access functions for codes used in the diagnostic functions
13
*
14
************************************************/
15
16
#ifndef CC_DIAGCODES_H_
17
#define CC_DIAGCODES_H_
18
19
#include "
CCPlatform.h
"
20
#include "
CCAuxTypes.h
"
21
22
#ifdef __cplusplus
23
namespace
CrossControl
24
{
25
#endif
26
28
enum
startupReasonCodes
29
{
30
startupReasonCodeUndefined
= 0x0000,
31
startupReasonCodeButtonPress
= 0x0055,
32
startupReasonCodeExtCtrl
= 0x00AA,
33
startupReasonCodeMPRestart
= 0x00F0,
34
startupReasonCodePowerOnStartup
= 0x000F,
35
startupReasonCodeCanActivity
= 0x003c,
36
startupReasonCodeCIActivity
= 0x00c3
37
};
38
40
enum
shutDownReasonCodes
41
{
42
shutdownReasonCodeNoError
= 0x001F
43
};
44
46
enum
hwErrorStatusCodes
47
{
48
errCodeNoErr
= 0
49
};
50
56
EXTERN_C
57
CCAUXDLL_API
58
char
const
*
59
CCAUXDLL_CALLING_CONV
60
GetHwErrorStatusStringA
(
unsigned
short
errCode);
61
67
EXTERN_C
68
CCAUXDLL_API
69
wchar_t
const
*
70
CCAUXDLL_CALLING_CONV
71
GetHwErrorStatusStringW
(
unsigned
short
errCode);
72
78
EXTERN_C
79
CCAUXDLL_API
80
char
const
*
81
CCAUXDLL_CALLING_CONV
82
GetStartupReasonStringA
(
unsigned
short
code);
83
89
EXTERN_C
90
CCAUXDLL_API
91
wchar_t
const
*
92
CCAUXDLL_CALLING_CONV
93
GetStartupReasonStringW
(
unsigned
short
code);
94
95
#ifdef __cplusplus
96
}
97
#endif
98
99
#endif
/* CC_DIAGCODES_H_ */
100
101
102
103
104
105
Generated on Mon Aug 25 2014 17:48:49 for CCAux by
1.8.3.1