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
68
69
70
71
72
73
74
75
76
77
78
79
#ifndef _GPIOUSER_H_
#define _GPIOUSER_H_
/* GPIO映射 */
#define WAKEUP_KL15_In RTE_GPIO_PORT00_PIN01
#define SEG1_SD RTE_GPIO_PORT00_PIN02
#define SEG1_CSB RTE_GPIO_PORT00_PIN03
#define SEG1_SCL RTE_GPIO_PORT00_PIN04
#define PositionBeam_P_IN RTE_GPIO_PORT00_PIN05
#define HighBeam_P_In RTE_GPIO_PORT00_PIN06
#define BACKLIGHT_PWM RTE_GPIO_PORT01_PIN00
#define LIN_RXD_ESP RTE_GPIO_PORT01_PIN01
#define LIN_TXD_ESP RTE_GPIO_PORT01_PIN02
#define VSpeed_Tens RTE_GPIO_PORT01_PIN05
#define VSpeed_Hundreds RTE_GPIO_PORT01_PIN06
#define ODO_TenThousand RTE_GPIO_PORT01_PIN07
#define AVDD_OUT_LOW RTE_GPIO_PORT02_PIN00
#define GND_OUT_LOW RTE_GPIO_PORT02_PIN01
#define POWER_KL30_In RTE_GPIO_PORT02_PIN02
#define POWER_KL15_In RTE_GPIO_PORT02_PIN03
#define FUEL_MCU_IN RTE_GPIO_PORT02_PIN05
#define FUEL_POWER_IN RTE_GPIO_PORT02_PIN07
#define SDB_LED_DRIVER RTE_GPIO_PORT03_PIN01
#define SWDIO RTE_GPIO_PORT04_PIN00
#define Key_MCU_IN RTE_GPIO_PORT04_PIN03
#define CAN_MCU_RXD RTE_GPIO_PORT05_PIN00
#define CAN_MCU_TXD RTE_GPIO_PORT05_PIN01
#define CAN_STB_MCU RTE_GPIO_PORT05_PIN02
#define LeftTurn_P_In RTE_GPIO_PORT05_PIN03
#define RightTurn_P_In RTE_GPIO_PORT05_PIN04
#define ODO_Thousand RTE_GPIO_PORT05_PIN05
#define IIC_SCL_24G16 RTE_GPIO_PORT06_PIN00
#define IIC_SDA_24G16 RTE_GPIO_PORT06_PIN01
#define IIC_SCL_27030 RTE_GPIO_PORT06_PIN02
#define IIC_SDA_27030 RTE_GPIO_PORT06_PIN03
#define SEG2_SCL RTE_GPIO_PORT07_PIN00
#define SEG2_CSB RTE_GPIO_PORT07_PIN01
#define SEG2_SD RTE_GPIO_PORT07_PIN02
#define Low_Batt_Vol_IN RTE_GPIO_PORT07_PIN03
#define Auto_StartStop_IN RTE_GPIO_PORT07_PIN04
#define Fault_Diagnosis_IN RTE_GPIO_PORT07_PIN05
#define Oil_Pressure_IN RTE_GPIO_PORT07_PIN06
#define Fault_ABS_IN RTE_GPIO_PORT07_PIN07
#define POWER_5V_MCU RTE_GPIO_PORT12_PIN00
#define MCU_XI RTE_GPIO_PORT12_PIN01
#define MCU_XO RTE_GPIO_PORT12_PIN02
#define X32768_IN RTE_GPIO_PORT12_PIN03
#define X32768_OUT RTE_GPIO_PORT12_PIN04
#define SWCLK RTE_GPIO_PORT13_PIN07
#define L_BD433Ctrl_OUT RTE_GPIO_PORT14_PIN00
#define FUEL_POWER_MCU_OUT RTE_GPIO_PORT14_PIN01
#define VERSION_F_OUT_LOW RTE_GPIO_PORT14_PIN06
typedef enum
{
Gpio_KL30_Init = 0,
Gpio_WakeUp_Init,
Gpio_Sleep_Init,
Gpio_Uvalid,
}_GpioUser_Enum;
extern void Gpio_Init(_GpioUser_Enum InitMode);
#endif