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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
#ifndef LED_DRIVER_INTERFACE_H__
#define LED_DRIVER_INTERFACE_H__
/*-----------------------------------------------------------*/
#define LED_ON 255
#define LED_OFF 0
#define LED_LINEOUT_Low 0
#define LED_LINEOUT_High 1
#define LampChannel_0 0
typedef enum
{
LampCh0_00 = 0,
LampCh0_01,
LampCh0_02,
LampCh0_03,
LampCh0_04,
LampCh0_05_Turn_Right,
LampCh0_06_Turn_Left,
LampCh0_07_Screen_Time,
LampCh0_08_KMH,
LampCh0_09_MPH,
LampCh0_10_Navigator1,
LampCh0_11_Temp_AlarmR,
LampCh0_12_ABS_Alarm,
LampCh0_13_Temp_AlarmW,
LampCh0_14_ARRIVED_SERVICE_AREA,
LampCh0_15_ARRIVED_TOLLGATE,
LampCh0_16_ARRIVED_TUNNEL,
LampCh0_17_Length2,
LampCh0_18_Length1,
LampCh0_19_Navigator2,
LampCh0_20_Fuel_Y,
LampCh0_21_Fuel_W,
LampCh0_22_Oil_Pressure,
LampCh0_23_Bluetooth,
LampCh0_24_Keys,
LampCh0_25_TCS_Alarm,
LampCh0_26_Tire_PressureW,
LampCh0_27_Tire_PressureY,
LampCh0_28_Auto_Star_Stop,
LampCh0_29_High_Beam,
LampCh0_30_Lateral_Support,
LampCh0_31_Low_Voltage,
LampCh0_32_Fault_Diagnosis,
LampCh0_33_Upkeep,
LampCh0_34_TRIP,
LampCh0_35_ODO,
LampCh0_MAX,
}_LampCh0;
extern void LED_Driver_Init_Example(void);
#endif