CCAux
2.8.3.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.8.3.0, 2016-04-06
8
*
9
* (c) maximatecc 2013
10
*
11
12
* File description: Diagnostic code handling
13
* String access functions for codes used in the diagnostic functions
14
*
15
************************************************/
16
17
#ifndef CC_DIAGCODES_H_
18
#define CC_DIAGCODES_H_
19
20
#include "
CCPlatform.h
"
21
#include "
CCAuxTypes.h
"
22
23
#ifdef __cplusplus
24
namespace
CrossControl
25
{
26
#endif
27
29
enum
startupReasonCodes
30
{
31
startupReasonCodeUndefined
= 0x0000,
32
startupReasonCodeButtonPress
= 0x0055,
33
startupReasonCodeExtCtrl
= 0x00AA,
34
startupReasonCodeMPRestart
= 0x00F0,
35
startupReasonCodePowerOnStartup
= 0x000F,
36
startupReasonCodeCanActivity
= 0x003c,
37
startupReasonCodeCIActivity
= 0x00c3,
38
startupReasonAlwaysStart
= 0x00e1,
39
startupReasonUnknownTrigger
= 0x001e
40
};
41
43
enum
shutDownReasonCodes
44
{
45
shutdownReasonCodeNoError
= 0x001F
46
};
47
49
enum
hwErrorStatusCodes
50
{
51
errCodeNoErr
= 0
52
};
53
61
EXTERN_C
62
CCAUXDLL_API
63
char
const
*
64
CCAUXDLL_CALLING_CONV
65
GetHwErrorStatusStringA
(
unsigned
short
errCode);
66
74
EXTERN_C
75
CCAUXDLL_API
76
wchar_t
const
*
77
CCAUXDLL_CALLING_CONV
78
GetHwErrorStatusStringW
(
unsigned
short
errCode);
79
87
EXTERN_C
88
CCAUXDLL_API
89
char
const
*
90
CCAUXDLL_CALLING_CONV
91
GetStartupReasonStringA
(
unsigned
short
code);
92
100
EXTERN_C
101
CCAUXDLL_API
102
wchar_t
const
*
103
CCAUXDLL_CALLING_CONV
104
GetStartupReasonStringW
(
unsigned
short
code);
105
106
#ifdef __cplusplus
107
}
108
#endif
109
110
#endif
/* CC_DIAGCODES_H_ */
111
112
Generated on Wed Apr 6 2016 19:46:22 for CCAux by
1.8.3.1