aboutsummaryrefslogtreecommitdiffstats
path: root/include/cluster_api_tripcomputer.h
blob: 7f79d392e9f637af7bf392e98decb123b31e7968 (plain)
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
42
43
44
45
46
47
48
49
50
#ifndef CLUSTER_API_TRIPCOMPUTER_H
#define CLUSTER_API_TRIPCOMPUTER_H

typedef enum
{
    IC_HMI_TRCOM_KM = 0,
    IC_HMI_TRCOM_MILE = 1,
} IC_HMI_TRCOM_UNIT_VAL;

typedef enum
{
    IC_HMI_FUEL_KM_L = 0,
    IC_HMI_FUEL_MPG_US,
    IC_HMI_FUEL_MPG_IG,
    IC_HMI_FUEL_L_100KM,
    IC_HMI_FUEL_MILE_KWH,
    IC_HMI_FUEL_KM_KWH,
    IC_HMI_FUEL_MILE_KG,
    IC_HMI_FUEL_KM_KG,
    IC_HMI_FUEL_KWH_100KM,
} IC_HMI_FUEL_ECONOMY_UNIT_VAL;

typedef enum
{
    IC_HMI_OTEMP_UNIT_C = 0,
    IC_HMI_OTEMP_UNIT_K = 1,
} IC_HMI_OTEMP_UNIT_VAL;

unsigned long getTrcomTripAVal(void);
unsigned long getTrcomTripBVal(void);
unsigned long getTrcomOdoVal(void);
IC_HMI_TRCOM_UNIT_VAL getTrcomUnitVal(void);
unsigned short getAvgSpeedAVal(void);
unsigned short getAvgSpeedBVal(void);
unsigned short getHourAVal(void);
unsigned short getHourBVal(void);
unsigned char getMinuteAVal(void);
unsigned char getMinuteBVal(void);
unsigned char getSecondAVal(void);
unsigned char getSecondBVal(void);
signed short getOTempVal(void);
IC_HMI_OTEMP_UNIT_VAL getOTempUnitVal(void);
unsigned short getCruRangeVal(void);
unsigned short getAvgFuelAVal(void);
unsigned short getAvgFuelBVal(void);
unsigned short getInsFuelAVal(void);
unsigned short getInsFuelBVal(void);
IC_HMI_FUEL_ECONOMY_UNIT_VAL getFuelEconomyUnitVal(void);

#endif // CLUSTER_API_TRIPCOMPUTER_H