LED_Driver_Interface.h 1.23 KB
Newer Older
李俭双's avatar
李俭双 committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
#ifndef LED_DRIVER_INTERFACE_H__
#define LED_DRIVER_INTERFACE_H__


/*-----------------------------------------------------------*/
#define LED_ON  100
#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,
李俭双's avatar
李俭双 committed
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
    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_Navigator,
    LampCh0_11_Temp_AlarmR,
    LampCh0_12_ABS_Alarm,
    LampCh0_13_Temp_AlarmW,
    LampCh0_14_Resting_Area,

    LampCh0_15_Tollbooth,
    LampCh0_16_Underpass1,
    LampCh0_17_Length2,
    LampCh0_18_Length1,
    LampCh0_19_Underpass2,

    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,
50
    LampCh0_29_High_Beam,
李俭双's avatar
李俭双 committed
51

52 53
    LampCh0_30_Lateral_Support,
    LampCh0_31_Low_Voltage,
李俭双's avatar
李俭双 committed
54 55 56
    LampCh0_32_Fault_Diagnosis,
    LampCh0_33_Upkeep,
    LampCh0_34_TRIP,
李俭双's avatar
李俭双 committed
57

李俭双's avatar
李俭双 committed
58
    LampCh0_35_ODO,
李俭双's avatar
李俭双 committed
59 60 61 62 63 64 65 66 67

    LampCh0_MAX,

}_LampCh0;


extern void LED_Driver_Init_Example(void);

#endif