Line_In_user.h 916 Bytes
Newer Older
时昊's avatar
时昊 committed
1 2 3 4 5 6 7
#ifndef LINE_IN_USER_H
#define LINE_IN_USER_H

#include "Line_In.h"

typedef enum
{
时昊's avatar
时昊 committed
8 9 10 11 12 13 14 15 16
    LINE_IN_Turn_Left,                          
    LINE_IN_Turn_Right, 
    LINE_IN_High_Beam,
    LINE_IN_Efi_Fault,  
    LINE_IN_ABS,
    LINE_IN_Auto_Start_Stop,
    LINE_IN_Oil_Pressure_Alert,
    LINE_IN_Voltage,
    LINE_IN_Fuel_Level_Low,
17 18
    LINE_IN_Coolant_Temperature,

时昊's avatar
时昊 committed
19 20 21 22 23
    LINE_IN_MAX,
} LINE_IN_Enum_t;

extern void LINE_IN_Init(void);

时昊's avatar
时昊 committed
24 25 26 27 28
Linelib_uint8_t Get_LINE_IN_Turn_Left(void);
Linelib_uint8_t Get_LINE_IN_Turn_Right(void);
Linelib_uint8_t Get_LINE_IN_High_Beam(void);
Linelib_uint8_t Get_LINE_IN_Efi_Fault(void);
Linelib_uint8_t Get_LINE_IN_ABS(void);
时昊's avatar
时昊 committed
29
Linelib_uint8_t Get_LINE_IN_Auto_Start_Stop(void);
时昊's avatar
时昊 committed
30 31 32
Linelib_uint8_t Get_LINE_IN_Oil_Pressure_Alert(void);
Linelib_uint8_t Get_LINE_IN_Voltage(void);
Linelib_uint8_t Get_LINE_IN_Fuel_Level_Low(void);
33
Linelib_uint8_t Get_LINE_IN_Coolant_Temperature(void);
时昊's avatar
时昊 committed
34
#endif