-
-
Notifications
You must be signed in to change notification settings - Fork 23
/
test.cpp
41 lines (35 loc) · 1.01 KB
/
test.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#include <stdio.h>
#include <stdlib.h>
#include <iostream>
#include "lib/egs52_ecus/src/GS.h"
using namespace std;
GS_218_EGS52 gs218;
#define LOOKUP_VALUE(v) \
std::cout << #v << " is " << (int)v << std::endl;
int main() {
gs218.raw = 0x0000225000000030;
LOOKUP_VALUE(gs218.FEHLPRF_ST);
LOOKUP_VALUE(gs218.MKRIECH);
LOOKUP_VALUE(gs218.MOT_NAUS);
LOOKUP_VALUE(gs218.MOT_NAUS_CNF);
LOOKUP_VALUE(gs218.K_LSTFR);
LOOKUP_VALUE(gs218.DYN0_AMR_EGS);
LOOKUP_VALUE(gs218.DYN1_EGS);
LOOKUP_VALUE(gs218.MPAR_EGS);
LOOKUP_VALUE(gs218.FPC_AAD);
LOOKUP_VALUE(gs218.KD);
LOOKUP_VALUE(gs218.UEHITZ_GET);
LOOKUP_VALUE(gs218.GS_NOTL);
LOOKUP_VALUE(gs218.ALF);
LOOKUP_VALUE(gs218.KS);
LOOKUP_VALUE(gs218.GET_OK);
LOOKUP_VALUE(gs218.HSM);
LOOKUP_VALUE(gs218.SCHALT);
LOOKUP_VALUE(gs218.FW_HOCH);
LOOKUP_VALUE(gs218.GSP_OK);
LOOKUP_VALUE(gs218.G_G);
LOOKUP_VALUE(gs218.K_G_B);
LOOKUP_VALUE(gs218.K_O_B);
LOOKUP_VALUE(gs218.K_S_B);
return 0;
}