Commit ef56acce authored by hu's avatar hu

调整GPIO配置,仪表可以点亮,GPIO配置依然不对

parent c35a7385
......@@ -11,7 +11,6 @@
*.tags
/ghs/project.out
# Object files
*.o
*.ko
......@@ -31,7 +30,6 @@
/ghs/*.dnm
/ghs/*.map
/ghs/*.run
/ghs/.srec
/ghs/*
/ghs/project.mem
......
No preview for this file type
This source diff could not be displayed because it is too large. You can view the blob instead.
project .intvect 1536
project .text 299068
project .text 298972
project .rodata 412383
project .secinfo 120
project .syscall 6
......
......@@ -174,22 +174,22 @@ void BL_Management_service ( void )
/*主函数中调用第一个参数电源状态 1是 ON档 2 off 第二个参数 唤醒条件 1是TTF唤醒 2 是表盘唤醒 3 是表盘和屏都有唤醒,0无唤醒*/
BackLightSchedu(Common_Get_IG_Sts(), BackLightWakeFlag);
D8867_BL_PWM_OUT = 1 ;
BL_PWM_OUT = 1 ;
//水温灯
TimerB_PWM_Channel_Duty_Set(TIMERB_2_CH7 , testBG );//水温格白色
TEMP_LED_W_MCU_OUT = 1 ;//水温字符白色指示灯
TEMP_W_LED_OUT = 1 ;//水温字符白色指示灯
//燃油灯
if(Fuel_Get_LowAlarm())
{
FUEL_LED_Y_MCU = 1U ;
FUEL_LED_W_MCU_OUT = 0U ;
FUEL_W_LED_OUT = 0U ;
}
else
{
FUEL_LED_Y_MCU = 0U ;
FUEL_LED_W_MCU_OUT = 1U ;
FUEL_W_LED_OUT = 1U ;
}
......
......@@ -43,37 +43,37 @@ const Line_In_Attribute_st_t g_stLineInAttribute[LINE_IN_MAX] =
{
/*ZH修改:2021.6.24 19:47*/
/*指示灯信号 硬线输入*/
{LINE_IN_LEVEL_LOW, 200U, 0U, LINE_IN_IG_ON, LINE_IN_Get_ABS,}, /*A22 ABS*/
{LINE_IN_LEVEL_LOW, 200U, 0U, LINE_IN_IG_ON, LINE_IN_Get_PARK_BRAKE,}, /*A23 PARK BRAKE*/
{LINE_IN_LEVEL_HIGH, 200U, 0U, LINE_IN_IG_ON, LINE_IN_Get_HI_BEAM,}, /*A25 HI BEAM*/
{LINE_IN_LEVEL_LOW, 200U, 0U, LINE_IN_IG_ON, LINE_IN_Get_BRAKE_AIR_EBS,}, /*A28 BRAKE AIR/EBS*/
{LINE_IN_LEVEL_LOW, 200U, 0U, LINE_IN_IG_ON, LINE_IN_Get_SEAT_BELT,}, /*A30 SEAT BELT*/
{LINE_IN_LEVEL_LOW, 200U, 0U, LINE_IN_IG_ON, LINE_IN_Get_MIL,}, /*A31 MIL*/
{LINE_IN_LEVEL_LOW, 200U, 0U, LINE_IN_IG_ON, LINE_IN_Get_ENG_OIL,}, /*A32 ENG OIL*/
{LINE_IN_LEVEL_LOW, 200U, 0U, LINE_IN_IG_ON, LINE_IN_Get_CHARGE,}, /*A34 CHARGE*/
{LINE_IN_LEVEL_LOW, 200U, 0U, LINE_IN_IG_ON, LINE_IN_Get_TRAILER_ABS_INFO,}, /*B03 TRAILER ABS INFO*/
{LINE_IN_LEVEL_HIGH, 200U, 0U, LINE_IN_IG_ON, LINE_IN_Get_Rr_FOG_LAMP,}, /*B14 Rr FOG LAMP*/
{LINE_IN_LEVEL_LOW, 200U, 0U, LINE_IN_IG_ON, LINE_IN_Get_ACC_AIR,}, /*B15 ACC AIR*/
{LINE_IN_LEVEL_HIGH, 200U, 0U, LINE_IN_IG_ON, LINE_IN_Get_AIR_SUS,}, /*B30 AIR SUS*/
{LINE_IN_LEVEL_LOW, 200U, 0U, LINE_IN_IG_ON, LINE_IN_Get_TRAILER_BRAKE,}, /*B31 TRAILER BRAKE*/
{LINE_IN_LEVEL_LOW, 200U, 0U, LINE_IN_IG_ON, LINE_IN_Get_TRAILER_ABS,}, /*B33 TRAILER ABS*/
{LINE_IN_LEVEL_HIGH, 200U, 0U, LINE_IN_IG_ON, LINE_IN_Get_RR_DIFF_LOCK,}, /*B36 RR DIFF LOCK*/
{LINE_IN_LEVEL_LOW, 200U, 0U, LINE_IN_IG_ON, LINE_IN_Get_WEAR_IND,}, /*B38 WEAR IND*/
{LINE_IN_LEVEL_LOW, 200U, 0U, LINE_IN_IG_ON, LINE_IN_Get_ABS,}, /*A22 ABS*/
{LINE_IN_LEVEL_LOW, 200U, 0U, LINE_IN_IG_ON, LINE_IN_Get_PARK_BRAKE,}, /*A23 PARK BRAKE*/
{LINE_IN_LEVEL_HIGH, 200U, 0U, LINE_IN_IG_ON, LINE_IN_Get_HI_BEAM,}, /*A25 HI BEAM*/
{LINE_IN_LEVEL_LOW, 200U, 0U, LINE_IN_IG_ON, LINE_IN_Get_BRAKE_AIR_EBS,}, /*A28 BRAKE AIR/EBS*/
{LINE_IN_LEVEL_LOW, 200U, 0U, LINE_IN_IG_ON, LINE_IN_Get_SEAT_BELT,}, /*A30 SEAT BELT*/
{LINE_IN_LEVEL_LOW, 200U, 0U, LINE_IN_IG_ON, LINE_IN_Get_MIL,}, /*A31 MIL*/
{LINE_IN_LEVEL_LOW, 200U, 0U, LINE_IN_IG_ON, LINE_IN_Get_ENG_OIL,}, /*A32 ENG OIL*/
{LINE_IN_LEVEL_LOW, 200U, 0U, LINE_IN_IG_ON, LINE_IN_Get_CHARGE,}, /*A34 CHARGE*/
{LINE_IN_LEVEL_LOW, 200U, 0U, LINE_IN_IG_ON, LINE_IN_Get_TRAILER_ABS_INFO,}, /*B03 TRAILER ABS INFO*/
{LINE_IN_LEVEL_HIGH, 200U, 0U, LINE_IN_IG_ON, LINE_IN_Get_Rr_FOG_LAMP,}, /*B14 Rr FOG LAMP*/
{LINE_IN_LEVEL_LOW, 200U, 0U, LINE_IN_IG_ON, LINE_IN_Get_ACC_AIR,}, /*B15 ACC AIR*/
{LINE_IN_LEVEL_HIGH, 200U, 0U, LINE_IN_IG_ON, LINE_IN_Get_AIR_SUS,}, /*B30 AIR SUS*/
{LINE_IN_LEVEL_LOW, 200U, 0U, LINE_IN_IG_ON, LINE_IN_Get_TRAILER_BRAKE,}, /*B31 TRAILER BRAKE*/
{LINE_IN_LEVEL_LOW, 200U, 0U, LINE_IN_IG_ON, LINE_IN_Get_TRAILER_ABS,}, /*B33 TRAILER ABS*/
{LINE_IN_LEVEL_HIGH, 200U, 0U, LINE_IN_IG_ON, LINE_IN_Get_RR_DIFF_LOCK,}, /*B36 RR DIFF LOCK*/
{LINE_IN_LEVEL_LOW, 200U, 0U, LINE_IN_IG_ON, LINE_IN_Get_WEAR_IND,}, /*B38 WEAR IND*/
/*ZH新增:2021.6.28 18:38*/
/*非指示灯信号 硬线输入*/
{LINE_IN_LEVEL_HIGH, 200U, 0U, LINE_IN_IG_ON, LINE_IN_Get_ILLUMINATION,}, /*A06 ILLUMINATION*/
{LINE_IN_LEVEL_LOW, 200U, 0U, LINE_IN_IG_ON, LINE_IN_Get_RET_BLENDING,}, /*A10 RET_BLENDING*/
{LINE_IN_LEVEL_LOW, 200U, 0U, LINE_IN_IG_ON, LINE_IN_Get_BRAKE,}, /*A21 BRAKE*/
{LINE_IN_LEVEL_HIGH, 200U, 0U, LINE_IN_IG_ONOFF, LINE_IN_Get_TURN_R,}, /*A26 TURN_R*/
{LINE_IN_LEVEL_HIGH, 200U, 0U, LINE_IN_IG_ONOFF, LINE_IN_Get_TURN_L,}, /*A27 TURN_L*/
{LINE_IN_LEVEL_LOW, 200U, 0U, LINE_IN_IG_ON, LINE_IN_Get_ABS_DETECT,}, /*A33 ABS_DETECT*/
{LINE_IN_LEVEL_HIGH, 200U, 0U, LINE_IN_IG_ON, LINE_IN_Get_PTO,}, /*B01 PTO*/
{LINE_IN_LEVEL_LOW, 200U, 0U, LINE_IN_IG_ON, LINE_IN_Get_GLOW,}, /*B05 GLOW*/
{LINE_IN_LEVEL_LOW, 200U, 0U, LINE_IN_IG_ON, LINE_IN_Get_TRAILER_CONNECT,}, /*B06 TRAILER_CONNECT*/
{LINE_IN_LEVEL_LOW, 200U, 0U, LINE_IN_IG_ON, LINE_IN_Get_LOW_COOLANT,}, /*B32 LOW_COOLANT*/
{LINE_IN_LEVEL_HIGH, 200U, 0U, LINE_IN_IG_ON, LINE_IN_Get_ACC,}, /*B39 ACC*/
{LINE_IN_LEVEL_LOW, 200U, 0U, LINE_IN_IG_ON, LINE_IN_Get_WEAR2,}, /*B40 WEAR2*/
{LINE_IN_LEVEL_HIGH, 200U, 0U, LINE_IN_IG_ON, LINE_IN_Get_ILLUMINATION,}, /*A06 ILLUMINATION 背光有效*/
{LINE_IN_LEVEL_LOW, 200U, 0U, LINE_IN_IG_ON, LINE_IN_Get_RET_BLENDING,}, /*A10 RET_BLENDING*/
{LINE_IN_LEVEL_LOW, 200U, 0U, LINE_IN_IG_ON, LINE_IN_Get_BRAKE,}, /*A21 BRAKE*/
{LINE_IN_LEVEL_HIGH, 200U, 0U, LINE_IN_IG_ONOFF, LINE_IN_Get_TURN_R,}, /*A26 TURN_R*/
{LINE_IN_LEVEL_HIGH, 200U, 0U, LINE_IN_IG_ONOFF, LINE_IN_Get_TURN_L,}, /*A27 TURN_L*/
{LINE_IN_LEVEL_LOW, 200U, 0U, LINE_IN_IG_ON, LINE_IN_Get_ABS_DETECT,}, /*A33 ABS_DETECT*/
{LINE_IN_LEVEL_HIGH, 200U, 0U, LINE_IN_IG_ON, LINE_IN_Get_PTO,}, /*B01 PTO*/
{LINE_IN_LEVEL_LOW, 200U, 0U, LINE_IN_IG_ON, LINE_IN_Get_GLOW,}, /*B05 GLOW*/
{LINE_IN_LEVEL_LOW, 200U, 0U, LINE_IN_IG_ON, LINE_IN_Get_TRAILER_CONNECT,}, /*B06 TRAILER_CONNECT*/
{LINE_IN_LEVEL_LOW, 200U, 0U, LINE_IN_IG_ON, LINE_IN_Get_LOW_COOLANT,}, /*B32 LOW_COOLANT*/
{LINE_IN_LEVEL_HIGH, 200U, 0U, LINE_IN_IG_ON, LINE_IN_Get_ACC,}, /*B39 ACC*/
{LINE_IN_LEVEL_LOW, 200U, 0U, LINE_IN_IG_ON, LINE_IN_Get_WEAR2,}, /*B40 WEAR2*/
};
/*ZH修改:2021.6.25 08:46*/
......@@ -208,10 +208,10 @@ LINE_IN_TriggerLevel_en_t LINE_IN_Get_WEAR_IND(void)
/*ZH新增:2021.6.29*/
/*A06 ILLUMINATION*/
/*A06 ILLUMINATION 背光有效*/
LINE_IN_TriggerLevel_en_t LINE_IN_Get_ILLUMINATION(void)
{
LINE_IN_TriggerLevel_en_t Res = ILLUMINAION_MCU;
LINE_IN_TriggerLevel_en_t Res = CD4051_COM3_X6_IN;
return Res;
}
......
......@@ -103,11 +103,12 @@ Power_Status_t Power_KL30_Init ( void )
Menu_Init(u8MenuRamData, stMenuItemAttribute, &pstMenuInit);
G_12V_EN_MCU_OUT = 1U; // 12V 电源使能
V_APOWER_MCU_OUT = 1U; // 外设5V 电源使能
D1530_EN_MCU_OUT = 1U; // 1530 使能
D8867_BL_EN_OUT = 1U; //8867 使能
L_FuelSender_OUT = 1U ;//燃油电源 使能
VCC12V0_OUT_EN = 1U; /*12V 电源使能*/
VCC05V0_OUT_EN = 1U; /*外设5V 电源使能*/
D1530_EN_MCU_OUT = 1U; /*1530 使能*/
BL_ACC_EN = 1U; /*8867 使能*/
Fuel_VCC05V_OUT_EN = 1U ; /*燃油电源 使能*/
AIR_5V_OUT_EN = 1u; /*气压 5V*/
IS31_Init();
Sound_Scheduler_Init();
Sound_Player_Init();
......@@ -125,9 +126,6 @@ Power_Status_t Power_KL30_Init ( void )
/*5s不按按键计时清零*/
//LongTimeNoKey_Operation_TimeRest();
BL_Init();
//GPIO_OUT_PORT10_PIN08 = 1u;
//GPIO_OUT_PORT42_PIN12 = 1u;
/*****油耗类****/
Fuel_Consump_K30_Init();
......@@ -141,12 +139,14 @@ void Power_Sleep_Init(void)
{
//TimerB_PWM_Channel_Sleep(TIMERB_2_CH10);
//TimerB_PWM_Channel_Sleep(TIMERB_1_CH10);
//VCCA_EN = 0U;
G_12V_EN_MCU_OUT = 0U; // 12V 电源使能
V_APOWER_MCU_OUT = 0U; // 外设5V 电源使能
D1530_EN_MCU_OUT = 0U; // 1530 使能
D8867_BL_EN_OUT = 0U; //8867 使能
L_FuelSender_OUT = 0U ;//燃油电源 使能
VCC12V0_OUT_EN = 1U; /*12V 电源使能*/
VCC05V0_OUT_EN = 1U; /*外设5V 电源使能*/
D1530_EN_MCU_OUT = 1U; /*1530 使能*/
BL_ACC_EN = 1U; /*8867 使能*/
Fuel_VCC05V_OUT_EN = 1U ; /*燃油电源 使能*/
AIR_5V_OUT_EN = 1u; /*气压 5V*/
IS31_Shutdown();
Speed_Sleep_Init();
......@@ -192,11 +192,13 @@ Power_Status_t Power_Wakeup_Init ( void )
/*安全带 车门部分 李茂军维护结束*/
RTE_PWM_Init();
G_12V_EN_MCU_OUT = 1U; // 12V 电源使能
V_APOWER_MCU_OUT = 1U; // 外设5V 电源使能
D1530_EN_MCU_OUT = 1U; // 1530 使能
D8867_BL_EN_OUT = 1U; //8867 使能
L_FuelSender_OUT = 1U ;//燃油电源 使能
VCC12V0_OUT_EN = 1U; /*12V 电源使能*/
VCC05V0_OUT_EN = 1U; /*外设5V 电源使能*/
D1530_EN_MCU_OUT = 1U; /*1530 使能*/
BL_ACC_EN = 1U; /*8867 使能*/
Fuel_VCC05V_OUT_EN = 1U ; /*燃油电源 使能*/
AIR_5V_OUT_EN = 1u; /*气压 5V*/
IS31_Init();
/*报警调度初始化*/
Popup_Scheduler_Init();
......
......@@ -222,8 +222,12 @@ void Test_LED_AllLight(void)
#define XXXX 0u
#define LED_BRIGHTNESS 0xff
/*LED点灯条件判别函数*/
/******************************************************************************
T1 INTER DIFF LOCK
信号接口:
信号定义:
输出信号: T1_LED_OUT
******************************************************************************/
uint8_t LED_INTER_DIFF_LOCK_T_Judgement(void)
{
uint8_t u8Result = 0u;
......@@ -242,6 +246,119 @@ uint8_t LED_INTER_DIFF_LOCK_T_Judgement(void)
return u8Result;
}
void LED_INTER_DIFF_LOCK_T_Execution(uint8_t led_status)
{
//T1_LED_OUT = led_status;
if (led_status == 1)
{
SEG_LED_INTER_DIFF_LOCK_T(7);
}
else
{
SEG_LED_INTER_DIFF_LOCK_T(0);
}
}
/******************************************************************************
R6 ACC_AIR_LED_MCU_OUT
信号接口:
信号定义:
输出信号: R6_LED_OUT
******************************************************************************/
uint8_t LED_ACC_AIR_R_Judgement(void)//done
{
uint8_t u8Result = 0u;
uint8_t m_Condition1 = 0u;
m_Condition1 = (uint8_t)Line_In_Get_Status(LINE_IN_ACC_AIR);
if (m_Condition1 == 1u)
{
u8Result = 1u;
}
else
{
u8Result = 0u;
}
return u8Result;
}
void LED_ACC_AIR_R_Execution(uint8_t led_status)
{
//R6_LED_OUT = led_status;
if (led_status == 1)
{
SEG_LED_ACC_AIR_R(7);
}
else
{
SEG_LED_ACC_AIR_R(0);
}
}
/******************************************************************************
R5
信号接口:
信号定义:
输出信号:BRAKE_AIR/EBS_LED_MCU
******************************************************************************/
/******************************************************************************
U2
信号接口:
信号定义:
输出信号:U2_LED_OUT
******************************************************************************/
uint8_t LED_TRAILER_ABS_U_Judgement(void)//done
{
uint8_t u8Result = 0u;
uint8_t m_Condition1 = 0u;
m_Condition1 = (uint8_t)Line_In_Get_Status(LINE_IN_TRAILER_ABS);
if (m_Condition1 == 1u)
{
u8Result = 1u;
}
else
{
u8Result = 0u;
}
return u8Result;
}
void LED_TRAILER_ABS_U_Execution(uint8_t led_status)
{
//U2_LED_OUT = led_status;
if (led_status == 1)
{
SEG_LED_TRAILER_ABS_U(7);
}
else
{
SEG_LED_TRAILER_ABS_U(0);
}
}
/******************************************************************************
信号接口:
信号定义:
输出信号:
******************************************************************************/
uint8_t LED_FOUR_MUL_FOUR_T_Judgement(void)
{
uint8_t u8Result = 0u;
......@@ -802,23 +919,7 @@ uint8_t LED_BRAKE_AIR_or_EBS_YELLOW_R_Judgement(void)//done
return u8Result;
}
uint8_t LED_ACC_AIR_R_Judgement(void)//done
{
uint8_t u8Result = 0u;
uint8_t m_Condition1 = 0u;
m_Condition1 = (uint8_t)Line_In_Get_Status(LINE_IN_ACC_AIR);
if (m_Condition1 == 1u)
{
u8Result = 1u;
}
else
{
u8Result = 0u;
}
return u8Result;
}
uint8_t LED_ABS_R_Judgement(void)//done
{
......@@ -918,23 +1019,7 @@ uint8_t LED_AIR_SUS_R_Judgement(void)//done
return u8Result;
}
uint8_t LED_TRAILER_ABS_U_Judgement(void)//done
{
uint8_t u8Result = 0u;
uint8_t m_Condition1 = 0u;
m_Condition1 = (uint8_t)Line_In_Get_Status(LINE_IN_TRAILER_ABS);
if (m_Condition1 == 1u)
{
u8Result = 1u;
}
else
{
u8Result = 0u;
}
return u8Result;
}
uint8_t LED_WORKING_LAMP_U_Judgement(void)
{
......@@ -986,20 +1071,7 @@ uint8_t LED_TRAILER_ABS_INFO_U_Judgement(void)//done
/*LED执行函数*/
void LED_INTER_DIFF_LOCK_T_Execution(uint8_t led_status)
{
RR_DIFF_LOCK_MCU = led_status;//由于硬件灯位出错,灯RR DIFF LOCK 和 灯INTER DIFF LOCK灯位画反,因此这里改了输出端子。
if (led_status == 1)
{
SEG_LED_INTER_DIFF_LOCK_T(7);
}
else
{
SEG_LED_INTER_DIFF_LOCK_T(0);
}
}
void LED_FOUR_MUL_FOUR_T_Execution(uint8_t led_status)
{
......@@ -1087,7 +1159,7 @@ void LED_HI_BEAM_T_Execution(uint8_t led_status)
void LED_Rr_FOG_LAMP_T_Execution(uint8_t led_status)
{
Rr_FOG_MCU_OUT = led_status;
//Rr_FOG_MCU_OUT = led_status;
if (led_status == 1)
{
......@@ -1612,23 +1684,11 @@ void LED_BRAKE_AIR_or_EBS_YELLOW_R_Execution(uint8_t led_status)
}
}
void LED_ACC_AIR_R_Execution(uint8_t led_status)
{
ACC_AIR_LED_MCU_OUT = led_status;
if (led_status == 1)
{
SEG_LED_ACC_AIR_R(7);
}
else
{
SEG_LED_ACC_AIR_R(0);
}
}
void LED_ABS_R_Execution(uint8_t led_status)
{
ABS_LED_MCU_OUT = led_status;
//ABS_LED_MCU_OUT = led_status;
if (led_status == 1)
{
......@@ -1663,7 +1723,7 @@ void LED_PARK_BRAKE_R_Execution(uint8_t led_status)
void LED_BRAKE_AIR_or_EBS_RED_R_Execution(uint8_t led_status)
{
BRAKE_AIR_EBS_LED_MCU = led_status;
//BRAKE_AIR_EBS_LED_MCU = led_status;
if (led_status == 1)
{
......@@ -1717,19 +1777,6 @@ void LED_AIR_SUS_R_Execution(uint8_t led_status)
}
}
void LED_TRAILER_ABS_U_Execution(uint8_t led_status)
{
TRAILER_ABS_LED_MCU_OUT = led_status;
if (led_status == 1)
{
SEG_LED_TRAILER_ABS_U(7);
}
else
{
SEG_LED_TRAILER_ABS_U(0);
}
}
void LED_WORKING_LAMP_U_Execution(uint8_t led_status)
{
......
......@@ -67,7 +67,7 @@ typedef enum
/******************************************************************************
信号重定义
******************************************************************************/
#define LINE_BUZZER SD_MODE_MCU_OUT
#define LINE_BUZZER BUZZER_ACC_OUT_EN
//#define BUZZER_PWM_EN PWME_PWME4
//#define BUZZER_FREQ_CTRL PWMPER4 //蜂鸣器频率 = 100kHz / BUZZER_FREQ_CTRL
//#define BUZZER_DUTY_CTRL PWMDTY4
......
#include "r_typedefs.h"
#include "dr7f701441.dvf.h"
#include "GPIO.h"
#define GPIO_STB_PROTECTED_WRITE(preg, pstatus, reg, value) \
......@@ -97,8 +96,8 @@ const uint32_t g_u32GPIOConfigArray[][2U] =
0x00010010ul, /*Pin_P10_1 GPIO_IN COMS1PDSC:L PU/PD:NULL P:L */
0x00010010ul, /*Pin_P10_1 GPIO_IN COMS1PDSC:L PU/PD:NULL P:L */
0x00010010ul, /*Pin_P10_2 GPIO_IN COMS1PDSC:L PU/PD:NULL P:L */
0x00010010ul, /*Pin_P10_2 GPIO_IN COMS1PDSC:L PU/PD:NULL P:L */
0x00000051ul, /*Pin_P10_2 TAUB0I3 COMS1PDSC:L PU/PD:NULL P:L */
0x00000051ul, /*Pin_P10_2 TAUB0I3 COMS1PDSC:L PU/PD:NULL P:L */
0x00010000ul, /*Pin_P10_3 GPIO_OUT COMS1PDSC:L PU/PD:NULL P:L */
0x00010000ul, /*Pin_P10_3 GPIO_OUT COMS1PDSC:L PU/PD:NULL P:L */
......@@ -112,8 +111,8 @@ const uint32_t g_u32GPIOConfigArray[][2U] =
0x00010010ul, /*Pin_P10_6 GPIO_IN COMS1PDSC:L PU/PD:NULL P:L */
0x00010010ul, /*Pin_P10_6 GPIO_IN COMS1PDSC:L PU/PD:NULL P:L */
0x00000050ul, /*Pin_P10_7 ADCE0TRIGI3 COMS1PDSC:L PU/PD:NULL P:L */
0x00000050ul, /*Pin_P10_7 ADCE0TRIGI3 COMS1PDSC:L PU/PD:NULL P:L */
0x00010010ul, /*Pin_P10_7 GPIO_IN COMS1PDSC:L PU/PD:NULL P:L */
0x00010010ul, /*Pin_P10_7 GPIO_IN COMS1PDSC:L PU/PD:NULL P:L */
0x00010010ul, /*Pin_P10_8 GPIO_IN COMS1PDSC:L PU/PD:NULL P:L */
0x00010010ul, /*Pin_P10_8 GPIO_IN COMS1PDSC:L PU/PD:NULL P:L */
......@@ -148,14 +147,14 @@ const uint32_t g_u32GPIOConfigArray[][2U] =
0x00010000ul, /*Pin_P16_2 GPIO_OUT SCHMITT1PDSC:L PU/PD:NULL P:L */
0x00010000ul, /*Pin_P16_2 GPIO_OUT SCHMITT1PDSC:L PU/PD:NULL P:L */
0x00000042ul,//0x00010000ul, /*Pin_P16_3 GPIO_OUT SCHMITT1PDSC:L PU/PD:NULL P:L */
0x00000042ul,//0x00010000ul, /*Pin_P16_3 GPIO_OUT SCHMITT1PDSC:L PU/PD:NULL P:L */
0x00010000ul, /*Pin_P16_3 GPIO_OUT SCHMITT1PDSC:L PU/PD:NULL P:L */
0x00010000ul, /*Pin_P16_3 GPIO_OUT SCHMITT1PDSC:L PU/PD:NULL P:L */
0x00000060ul, /*Pin_P16_4 ISM21 SCHMITT1PDSC:L PU/PD:NULL P:L */
0x00010000ul, /*Pin_P16_4 GPIO_OUT SCHMITT1PDSC:L PU/PD:NULL P:L */
0x00000042ul, //0x00000050ul, /*Pin_P16_5 TAUB0I11 SCHMITT1PDSC:L PU/PD:NULL P:L */
0x00000042ul, //0x00010000ul, /*Pin_P16_5 GPIO_OUT SCHMITT1PDSC:L PU/PD:NULL P:L */
0x00000042ul, /*Pin_P16_5 TAUB0O11 SCHMITT1PDSC:L PU/PD:NULL P:L */
0x00000050ul, /*Pin_P16_5 TAUB0I11 SCHMITT1PDSC:L PU/PD:NULL P:L */
0x00010010ul, /*Pin_P16_6 GPIO_IN SCHMITT1PDSC:L PU/PD:NULL P:L */
0x00010010ul, /*Pin_P16_6 GPIO_IN SCHMITT1PDSC:L PU/PD:NULL P:L */
......@@ -175,11 +174,11 @@ const uint32_t g_u32GPIOConfigArray[][2U] =
0x00010000ul, /*Pin_P16_11 GPIO_OUT SCHMITT1PDSC:L PU/PD:NULL P:L */
0x00010000ul, /*Pin_P16_11 GPIO_OUT SCHMITT1PDSC:L PU/PD:NULL P:L */
0x00010010ul, /*Pin_P17_0 GPIO_IN SCHMITT1PDSC:L PU/PD:NULL P:L */
0x00010010ul, /*Pin_P17_0 GPIO_IN SCHMITT1PDSC:L PU/PD:NULL P:L */
0x00010000ul, /*Pin_P17_0 GPIO_OUT SCHMITT1PDSC:L PU/PD:NULL P:L */
0x00010000ul, /*Pin_P17_0 GPIO_OUT SCHMITT1PDSC:L PU/PD:NULL P:L */
0x00010010ul, /*Pin_P17_1 GPIO_IN SCHMITT1PDSC:L PU/PD:NULL P:L */
0x00010010ul, /*Pin_P17_1 GPIO_IN SCHMITT1PDSC:L PU/PD:NULL P:L */
0x00010000ul, /*Pin_P17_1 GPIO_OUT SCHMITT1PDSC:L PU/PD:NULL P:L */
0x00010000ul, /*Pin_P17_1 GPIO_OUT SCHMITT1PDSC:L PU/PD:NULL P:L */
0x00010010ul, /*Pin_P17_2 GPIO_IN SCHMITT1PDSC:L PU/PD:NULL P:L */
0x00010010ul, /*Pin_P17_2 GPIO_IN SCHMITT1PDSC:L PU/PD:NULL P:L */
......@@ -238,8 +237,8 @@ const uint32_t g_u32GPIOConfigArray[][2U] =
0x01000060ul, /*Pin_P21_8 SFMA0O21 COMS1PDSC:H PU/PD:NULL P:L */
0x00000060ul, /*Pin_P21_8 SFMA0O21 COMS1PDSC:L PU/PD:NULL P:L */
0x00010000ul, /*Pin_P21_9 GPIO_OUT COMS1PDSC:L PU/PD:NULL P:L */
0x00010000ul, /*Pin_P21_9 GPIO_OUT COMS1PDSC:L PU/PD:NULL P:L */
0x00000060ul, /*Pin_P21_9 SFMA0O31 COMS1PDSC:L PU/PD:NULL P:L */
0x00000060ul, /*Pin_P21_9 SFMA0O31 COMS1PDSC:L PU/PD:NULL P:L */
0x00010000ul, /*Pin_P22_10 GPIO_OUT COMS1PDSC:L PU/PD:NULL P:L */
0x00010000ul, /*Pin_P22_10 GPIO_OUT COMS1PDSC:L PU/PD:NULL P:L */
......@@ -253,8 +252,8 @@ const uint32_t g_u32GPIOConfigArray[][2U] =
0x00010000ul, /*Pin_P42_2 GPIO_OUT SCHMITT1PDSC:L PU/PD:NULL P:L */
0x00010000ul, /*Pin_P42_2 GPIO_OUT SCHMITT1PDSC:L PU/PD:NULL P:L */
0x00000042ul,//0x00010000ul, /*Pin_P42_3 GPIO_OUT SCHMITT1PDSC:L PU/PD:NULL P:L */
0x00000042ul,//0x00010000ul, /*Pin_P42_3 GPIO_OUT SCHMITT1PDSC:L PU/PD:NULL P:L */
0x00010000ul, /*Pin_P42_3 GPIO_OUT SCHMITT1PDSC:L PU/PD:NULL P:L */
0x00010000ul, /*Pin_P42_3 GPIO_OUT SCHMITT1PDSC:L PU/PD:NULL P:L */
0x00010000ul, /*Pin_P42_4 GPIO_OUT SCHMITT1PDSC:L PU/PD:NULL P:L */
0x00010000ul, /*Pin_P42_4 GPIO_OUT SCHMITT1PDSC:L PU/PD:NULL P:L */
......@@ -269,28 +268,28 @@ const uint32_t g_u32GPIOConfigArray[][2U] =
0x00010010ul, /*Pin_P42_7 GPIO_IN SCHMITT1PDSC:L PU/PD:NULL P:L */
0x00000042ul, /*Pin_P42_8 TAUB0O15 SCHMITT1PDSC:L PU/PD:NULL P:L */
0x00010000ul, /*Pin_P42_8 GPIO_OUT SCHMITT1PDSC:L PU/PD:NULL P:L */
0x00000042ul, /*Pin_P42_8 TAUB0O15 SCHMITT1PDSC:L PU/PD:NULL P:L */
0x00010000ul, /*Pin_P42_9 GPIO_OUT SCHMITT1PDSC:L PU/PD:NULL P:L */
0x00010000ul, /*Pin_P42_9 GPIO_OUT SCHMITT1PDSC:L PU/PD:NULL P:L */
0x00010010ul, /*Pin_P42_9 GPIO_IN SCHMITT1PDSC:L PU/PD:NULL P:L */
0x00010010ul, /*Pin_P42_9 GPIO_IN SCHMITT1PDSC:L PU/PD:NULL P:L */
0x00010000ul, //0x00000042ul,//0x00010000ul, /*Pin_P42_10 GPIO_OUT SCHMITT1PDSC:L PU/PD:NULL P:L */
0x00010000ul, //0x00000042ul,//0x00010000ul, /*Pin_P42_10 GPIO_OUT SCHMITT1PDSC:L PU/PD:NULL P:L */
0x00010010ul, /*Pin_P42_10 GPIO_IN SCHMITT1PDSC:L PU/PD:NULL P:L */
0x00010010ul, /*Pin_P42_10 GPIO_IN SCHMITT1PDSC:L PU/PD:NULL P:L */
0x00000042ul,//0x00010000ul, /*Pin_P42_11 GPIO_OUT SCHMITT1PDSC:L PU/PD:NULL P:L */
0x00000042ul,//0x00010000ul, /*Pin_P42_11 GPIO_OUT SCHMITT1PDSC:L PU/PD:NULL P:L */
0x00010000ul, /*Pin_P42_11 GPIO_OUT SCHMITT1PDSC:L PU/PD:NULL P:L */
0x00010000ul, /*Pin_P42_11 GPIO_OUT SCHMITT1PDSC:L PU/PD:NULL P:L */
0x00010000ul, /*Pin_P42_12 GPIO_OUT SCHMITT1PDSC:L PU/PD:NULL P:L */
0x00010000ul, /*Pin_P42_12 GPIO_OUT SCHMITT1PDSC:L PU/PD:NULL P:L */
0x00000042ul, /*Pin_P42_12 TAUB2O11 SCHMITT1PDSC:L PU/PD:NULL P:L */
0x00000042ul, /*Pin_P42_12 TAUB2O11 SCHMITT1PDSC:L PU/PD:NULL P:L */
0x00000042ul,//0x00000051ul, /*Pin_P42_13 TAUB2I11 SCHMITT1PDSC:L PU/PD:NULL P:L */
0x00000042ul,//0x00010000ul, /*Pin_P42_13 GPIO_OUT SCHMITT1PDSC:L PU/PD:NULL P:L */
0x00000042ul, /*Pin_P42_13 TAUB2O13 SCHMITT1PDSC:L PU/PD:NULL P:L */
0x00000042ul, /*Pin_P42_13 TAUB2O13 SCHMITT1PDSC:L PU/PD:NULL P:L */
0x00010000ul, /*Pin_P42_14 GPIO_OUT SCHMITT1PDSC:L PU/PD:NULL P:L */
0x00010000ul, /*Pin_P42_14 GPIO_OUT SCHMITT1PDSC:L PU/PD:NULL P:L */
0x00000042ul,//0x00000053ul, /*Pin_P42_15 TAUB1I10 SCHMITT1PDSC:L PU/PD:NULL P:L */
0x00000042ul,//0x00010000ul, /*Pin_P42_15 GPIO_OUT SCHMITT1PDSC:L PU/PD:NULL P:L */
0x00000053ul, /*Pin_P42_15 TAUB1I10 SCHMITT1PDSC:L PU/PD:NULL P:L */
0x00010000ul, /*Pin_P42_15 GPIO_OUT SCHMITT1PDSC:L PU/PD:NULL P:L */
0x00010000ul, /*Pin_P43_0 GPIO_OUT SCHMITT1PDSC:L PU/PD:NULL P:L */
0x00010000ul, /*Pin_P43_0 GPIO_OUT SCHMITT1PDSC:L PU/PD:NULL P:L */
......
#ifndef GPIO_H__
#define GPIO_H__
#include "dr7f701441.dvf.h"
/* --- PORT Data Direction --- */
#define GPIO_DIR_PORT00_PIN00 PORT_AWOPM0_0
#define GPIO_DIR_PORT00_PIN01 PORT_AWOPM0_1
......@@ -436,42 +437,42 @@
#define USB_SCLK_MCU_OUT GPIO_OUT_PORT01_PIN02
#define MCU_STBYB_LCD_OUT GPIO_OUT_PORT01_PIN03
#define USB_SCS_MCU GPIO_OUT_PORT01_PIN04
#define USB_INT#_MCU GPIO_OUT_PORT01_PIN05
#define USB_INT_MCU GPIO_OUT_PORT01_PIN05
#define MCU_RSTB_LCD_OUT GPIO_OUT_PORT03_PIN00
#define ABS_LED_MCU_OUT GPIO_OUT_PORT03_PIN01
#define V_APOWER_MCU_OUT GPIO_OUT_PORT03_PIN02
#define G_12V_EN_MCU_OUT GPIO_OUT_PORT03_PIN03
#define AIR_5V_MCU_OUT GPIO_OUT_PORT03_PIN04
#define L_FuelSender_OUT GPIO_OUT_PORT03_PIN05
#define SD_MODE_MCU_OUT GPIO_OUT_PORT03_PIN06
#define VCC05V0_OUT_EN GPIO_OUT_PORT03_PIN02
#define VCC12V0_OUT_EN GPIO_OUT_PORT03_PIN03
#define AIR_5V_OUT_EN GPIO_OUT_PORT03_PIN04
#define Fuel_VCC05V_OUT_EN GPIO_OUT_PORT03_PIN05
#define BUZZER_ACC_OUT_EN GPIO_OUT_PORT03_PIN06
#define DIN_MCU_IN GPIO_IN_PORT03_PIN09
#define ADC_KL30 GPIO_IN_PORT10_PIN00
#define SPEED_SIGNAL_MCU_IN GPIO_IN_PORT10_PIN01
#define NTC_AD_MCU GPIO_IN_PORT10_PIN02
#define NTC_AD_MCU GPIO_IN_PORT10_PIN01
#define FUEL_LED_Y_MCU GPIO_OUT_PORT10_PIN03
#define SPEED_SIGNAL2_MCU_IN GPIO_IN_PORT10_PIN04
#define ILLUMINAION_MCU GPIO_IN_PORT10_PIN05
#define ACC_MCU_IN GPIO_IN_PORT10_PIN06
#define FUEL_GAUGE_MCU_IN GPIO_IN_PORT10_PIN08
#define SECONDARY_AIR_MCU_IN GPIO_IN_PORT10_PIN09
#define PRIMARY_AIR_MCU GPIO_IN_PORT10_PIN10
#define METER_SW_MCU_IN GPIO_IN_PORT10_PIN11
#define RR_DIFF_LOCK_MCU GPIO_OUT_PORT11_PIN00
#define BRAKE_AIR_EBS_LED_MCU GPIO_OUT_PORT11_PIN01
#define ACC_MCU_IN GPIO_IN_PORT10_PIN04
#define ADC_WET_AIR GPIO_IN_PORT10_PIN05
#define SPEED_SIGNAL_PWM_IN GPIO_IN_PORT10_PIN06
#define ADC_FUEL_ACC GPIO_IN_PORT10_PIN07
#define ADC_FUEL GPIO_IN_PORT10_PIN08
#define ADC_AIR2 GPIO_IN_PORT10_PIN09
#define ADC_AIR GPIO_IN_PORT10_PIN10
#define ADC_KEY GPIO_IN_PORT10_PIN11
#define T1_LED_OUT GPIO_OUT_PORT11_PIN00
#define R5_LED_OUT GPIO_OUT_PORT11_PIN01
#define CD4051A_COM6_MCU_IN GPIO_IN_PORT11_PIN02
#define CD4051A_COM7_MCU_IN GPIO_IN_PORT11_PIN03
#define CD4051A_COM1_MCU_IN GPIO_IN_PORT16_PIN00
#define BUZZER_MCU_OUT GPIO_OUT_PORT16_PIN01
#define TEMP_LED_R_MCU_OUT GPIO_OUT_PORT16_PIN02
#define TACHO_MCU_OUT GPIO_OUT_PORT16_PIN03
#define TEMP_R_LED_OUT GPIO_OUT_PORT16_PIN02
#define TACHO_A39_OUT GPIO_OUT_PORT16_PIN03
#define WAKE_N_MCU_IN GPIO_IN_PORT16_PIN06
#define CD4051A_A_MCU_OUT GPIO_OUT_PORT16_PIN07
#define CD4051A_B_MCU_OUT GPIO_OUT_PORT16_PIN08
#define TEMP_LED_W_MCU_OUT GPIO_OUT_PORT16_PIN09
#define TEMP_W_LED_OUT GPIO_OUT_PORT16_PIN09
#define CD4051A_C_MCU_OUT GPIO_OUT_PORT16_PIN10
#define FUEL_LED_W_MCU_OUT GPIO_OUT_PORT16_PIN11
#define CD4051A_COM2_MCU_IN GPIO_IN_PORT17_PIN00
#define CD4051A_COM3_MCU_IN GPIO_IN_PORT17_PIN01
#define FUEL_W_LED_OUT GPIO_OUT_PORT16_PIN11
#define BL_PWM_OUT GPIO_OUT_PORT17_PIN00
#define BL_ACC_EN GPIO_OUT_PORT17_PIN01
#define CD4051A_COM4_MCU_IN GPIO_IN_PORT17_PIN02
#define CD4051A_COM5_MCU_IN GPIO_IN_PORT17_PIN03
#define CSB0_MCU_OUT GPIO_OUT_PORT17_PIN04
......@@ -482,20 +483,18 @@
#define CSB1_MCU_OUT GPIO_OUT_PORT17_PIN09
#define SCL1_MCU_OUT GPIO_OUT_PORT17_PIN10
#define SD1_MCU_OUT GPIO_OUT_PORT17_PIN11
#define RR_FOG_MCU_OUT GPIO_OUT_PORT21_PIN09
#define Rr_FOG_MCU_OUT GPIO_OUT_PORT22_PIN10
#define T7_LED_OUT GPIO_OUT_PORT22_PIN10
#define I2C2_3236SDA_MCU GPIO_OUT_PORT42_PIN00
#define I2C2_3236SCL_MCU GPIO_OUT_PORT42_PIN01
#define D_3236SDB_MCU GPIO_OUT_PORT42_PIN02
#define Water_Temp_Led_R_MCU_OUT GPIO_OUT_PORT42_PIN03
#define Water_Temp_Led_W_MCU_OUT GPIO_OUT_PORT42_PIN04
#define Water_Temp_Led_W_MCU_OUT GPIO_OUT_PORT42_PIN03
#define Water_Temp_Led_R_MCU_OUT GPIO_OUT_PORT42_PIN04
#define TRAILER_ABS_LED_MCU_OUT GPIO_OUT_PORT42_PIN05
#define LAMP_CONTROL_MCU_OUT GPIO_OUT_PORT42_PIN06
#define ACC5V_LED_PWM_MCU GPIO_OUT_PORT42_PIN06
#define D8867_FAULT_IN GPIO_IN_PORT42_PIN07
#define D8867_BL_EN_OUT GPIO_OUT_PORT42_PIN09
#define D8867_BL_PWM_OUT GPIO_OUT_PORT42_PIN10
#define SPEED1_PWM_MCU_OUT GPIO_OUT_PORT42_PIN11
#define ACC_AIR_LED_MCU_OUT GPIO_OUT_PORT42_PIN12
#define CD4051A_COM2_MCU_IN GPIO_IN_PORT42_PIN09
#define CD4051A_COM3_MCU_IN GPIO_IN_PORT42_PIN10
#define R6_LED_OUT GPIO_OUT_PORT42_PIN11
#define D1530_EN_MCU_OUT GPIO_OUT_PORT42_PIN14
#define MCU_HS_OUT GPIO_OUT_PORT43_PIN00
#define MCU_VS_OUT GPIO_OUT_PORT43_PIN01
......
......@@ -270,12 +270,12 @@ void Sys_Sleep_Mode_Tasks(void)
void Sys_Exact_50us_Tasks(void)
{
static uint16_t PerCounter = 0u;
Sys_Rolling();
Sys_Rolling();·
COM_NM_Process();
COM_TX_Process();
DoCAN_Timer_Update(50);
//TimerB_Fre_Timeout(50);
Cal_Veh_Cycle(SPEED_SIGNAL_MCU_IN);
Cal_Veh_Cycle(SPEED_SIGNAL_PWM_IN); /*车速输入,非捕获方式 20211018*/
PerCounter++;
if (PerCounter >= 20 * 5)
{
......
......@@ -1118,7 +1118,7 @@
},
{
"pinID": "Pin_P3_2",
"pinName": "V_APOWER_MCU_OUT",
"pinName": "VCC05V0_OUT_EN",
"pinAddress": " 8B",
"wakeupPin": {
"pinModeName": "GPIO_OUT",
......@@ -1180,7 +1180,7 @@
},
{
"pinID": "Pin_P3_3",
"pinName": "G_12V_EN_MCU_OUT",
"pinName": "VCC12V0_OUT_EN",
"pinAddress": " 8A",
"wakeupPin": {
"pinModeName": "GPIO_OUT",
......@@ -1242,7 +1242,7 @@
},
{
"pinID": "Pin_P3_4",
"pinName": "AIR_5V_MCU_OUT",
"pinName": "AIR_5V_OUT_EN",
"pinAddress": " 7B",
"wakeupPin": {
"pinModeName": "GPIO_OUT",
......@@ -1304,7 +1304,7 @@
},
{
"pinID": "Pin_P3_5",
"pinName": "L_FuelSender_OUT",
"pinName": "Fuel_VCC05V_OUT_EN",
"pinAddress": " 7A",
"wakeupPin": {
"pinModeName": "GPIO_OUT",
......@@ -1365,7 +1365,7 @@
},
{
"pinID": "Pin_P3_6",
"pinName": "SD_MODE_MCU_OUT",
"pinName": "BUZZER_ACC_OUT_EN",
"pinAddress": " 6B",
"wakeupPin": {
"pinModeName": "GPIO_OUT",
......@@ -1673,10 +1673,10 @@
},
{
"pinID": "Pin_P10_1",
"pinName": "SPEED_SIGNAL_MCU_IN",
"pinName": "NTC_AD_MCU",
"pinAddress": " 3B",
"wakeupPin": {
"pinModeName": "TAUB0I2",
"pinModeName": "GPIO_IN",
"circuitName": "COMS1",
"PINV": false,
"PODC": false,
......@@ -1686,18 +1686,18 @@
"PU": false,
"PD": false,
"PBDC": false,
"PIBC": false,
"PIBC": true,
"P": false,
"PPR": false,
"PMC": true,
"PMC": false,
"PIPC": false,
"PM": true,
"PFCAE": false,
"PFCE": false,
"PFC": true
"PFC": false
},
"sleepPin": {
"pinModeName": "TAUB0I2",
"pinModeName": "GPIO_IN",
"circuitName": "COMS1",
"PINV": false,
"PODC": false,
......@@ -1707,15 +1707,15 @@
"PU": false,
"PD": false,
"PBDC": false,
"PIBC": false,
"PIBC": true,
"P": false,
"PPR": false,
"PMC": true,
"PMC": false,
"PIPC": false,
"PM": true,
"PFCAE": false,
"PFCE": false,
"PFC": true
"PFC": false
},
"pinModeList": {
"GPIO_OUT": 65536,
......@@ -1731,10 +1731,10 @@
},
{
"pinID": "Pin_P10_2",
"pinName": "NTC_AD_MCU",
"pinName": "SPEED_SIGNAL2_MCU_PWM",
"pinAddress": " 2A",
"wakeupPin": {
"pinModeName": "GPIO_IN",
"pinModeName": "TAUB0I3",
"circuitName": "COMS1",
"PINV": false,
"PODC": false,
......@@ -1744,18 +1744,18 @@
"PU": false,
"PD": false,
"PBDC": false,
"PIBC": true,
"PIBC": false,
"P": false,
"PPR": false,
"PMC": false,
"PMC": true,
"PIPC": false,
"PM": true,
"PFCAE": false,
"PFCE": false,
"PFC": false
"PFC": true
},
"sleepPin": {
"pinModeName": "GPIO_IN",
"pinModeName": "TAUB0I3",
"circuitName": "COMS1",
"PINV": false,
"PODC": false,
......@@ -1765,15 +1765,15 @@
"PU": false,
"PD": false,
"PBDC": false,
"PIBC": true,
"PIBC": false,
"P": false,
"PPR": false,
"PMC": false,
"PMC": true,
"PIPC": false,
"PM": true,
"PFCAE": false,
"PFCE": false,
"PFC": false
"PFC": true
},
"pinModeList": {
"GPIO_OUT": 65536,
......@@ -1847,10 +1847,10 @@
},
{
"pinID": "Pin_P10_4",
"pinName": "SPEED_SIGNAL2_MCU_IN",
"pinName": "ACC_MCU_IN",
"pinAddress": " 1B",
"wakeupPin": {
"pinModeName": "TAUB0I6",
"pinModeName": "GPIO_IN",
"circuitName": "COMS1",
"PINV": false,
"PODC": false,
......@@ -1860,18 +1860,18 @@
"PU": false,
"PD": false,
"PBDC": false,
"PIBC": false,
"PIBC": true,
"P": false,
"PPR": false,
"PMC": true,
"PMC": false,
"PIPC": false,
"PM": true,
"PFCAE": false,
"PFCE": false,
"PFC": true
"PFC": false
},
"sleepPin": {
"pinModeName": "TAUB0I6",
"pinModeName": "GPIO_IN",
"circuitName": "COMS1",
"PINV": false,
"PODC": false,
......@@ -1881,15 +1881,15 @@
"PU": false,
"PD": false,
"PBDC": false,
"PIBC": false,
"PIBC": true,
"P": false,
"PPR": false,
"PMC": true,
"PMC": false,
"PIPC": false,
"PM": true,
"PFCAE": false,
"PFCE": false,
"PFC": true
"PFC": false
},
"pinModeList": {
"GPIO_OUT": 65536,
......@@ -1905,7 +1905,7 @@
},
{
"pinID": "Pin_P10_5",
"pinName": "ILLUMINAION_MCU",
"pinName": "ADC_WET_AIR",
"pinAddress": " 3C",
"wakeupPin": {
"pinModeName": "GPIO_IN",
......@@ -1964,7 +1964,7 @@
},
{
"pinID": "Pin_P10_6",
"pinName": "ACC_MCU_IN",
"pinName": "SPEED_SIGNAL_PWM_IN",
"pinAddress": " 2C",
"wakeupPin": {
"pinModeName": "GPIO_IN",
......@@ -2023,10 +2023,10 @@
},
{
"pinID": "Pin_P10_7",
"pinName": "A_FULESTANDARDBitSW_IN",
"pinName": "ADC_FUEL_ACC",
"pinAddress": " 1C",
"wakeupPin": {
"pinModeName": "ADCE0TRIGI3",
"pinModeName": "GPIO_IN",
"circuitName": "COMS1",
"PINV": false,
"PODC": false,
......@@ -2036,10 +2036,10 @@
"PU": false,
"PD": false,
"PBDC": false,
"PIBC": false,
"PIBC": true,
"P": false,
"PPR": false,
"PMC": true,
"PMC": false,
"PIPC": false,
"PM": true,
"PFCAE": false,
......@@ -2047,7 +2047,7 @@
"PFC": false
},
"sleepPin": {
"pinModeName": "ADCE0TRIGI3",
"pinModeName": "GPIO_IN",
"circuitName": "COMS1",
"PINV": false,
"PODC": false,
......@@ -2057,10 +2057,10 @@
"PU": false,
"PD": false,
"PBDC": false,
"PIBC": false,
"PIBC": true,
"P": false,
"PPR": false,
"PMC": true,
"PMC": false,
"PIPC": false,
"PM": true,
"PFCAE": false,
......@@ -2082,7 +2082,7 @@
},
{
"pinID": "Pin_P10_8",
"pinName": "FUEL_GAUGE_MCU_IN",
"pinName": "ADC_FUEL",
"pinAddress": " 2D",
"wakeupPin": {
"pinModeName": "GPIO_IN",
......@@ -2140,7 +2140,7 @@
},
{
"pinID": "Pin_P10_9",
"pinName": "SECONDARY_AIR_MCU_IN",
"pinName": "ADC_AIR2",
"pinAddress": " 1D",
"wakeupPin": {
"pinModeName": "GPIO_IN",
......@@ -2198,7 +2198,7 @@
},
{
"pinID": "Pin_P10_10",
"pinName": "PRIMARY_AIR_MCU",
"pinName": "ADC_AIR",
"pinAddress": " 1E",
"wakeupPin": {
"pinModeName": "GPIO_IN",
......@@ -2256,7 +2256,7 @@
},
{
"pinID": "Pin_P10_11",
"pinName": "METER_SW_MCU_IN",
"pinName": "ADC_KEY",
"pinAddress": " 4E",
"wakeupPin": {
"pinModeName": "GPIO_IN",
......@@ -2319,7 +2319,7 @@
"pinList": [
{
"pinID": "Pin_P11_0",
"pinName": "RR_DIFF_LOCK_MCU",
"pinName": "T1_LED_OUT",
"pinAddress": " 2F",
"wakeupPin": {
"pinModeName": "GPIO_OUT",
......@@ -2375,7 +2375,7 @@
},
{
"pinID": "Pin_P11_1",
"pinName": "BRAKE_AIR_EBS_LED_MCU",
"pinName": "R5_LED_OUT",
"pinAddress": " 3E",
"wakeupPin": {
"pinModeName": "GPIO_OUT",
......@@ -2672,7 +2672,7 @@
},
{
"pinID": "Pin_P16_2",
"pinName": "TEMP_LED_R_MCU_OUT",
"pinName": "TEMP_R_LED_OUT",
"pinAddress": "18B",
"wakeupPin": {
"pinModeName": "GPIO_OUT",
......@@ -2734,7 +2734,7 @@
},
{
"pinID": "Pin_P16_3",
"pinName": "TACHO_MCU_OUT",
"pinName": "TACHO_A39_OUT",
"pinAddress": "18A",
"wakeupPin": {
"pinModeName": "GPIO_OUT",
......@@ -2857,7 +2857,7 @@
"pinName": "FM_PWM_MCU",
"pinAddress": "16B",
"wakeupPin": {
"pinModeName": "TAUB0I11",
"pinModeName": "TAUB0O11",
"circuitName": "SCHMITT1",
"PINV": false,
"PODC": false,
......@@ -2872,13 +2872,13 @@
"PPR": false,
"PMC": true,
"PIPC": false,
"PM": true,
"PM": false,
"PFCAE": false,
"PFCE": false,
"PFCE": true,
"PFC": false
},
"sleepPin": {
"pinModeName": "GPIO_OUT",
"pinModeName": "TAUB0I11",
"circuitName": "SCHMITT1",
"PINV": false,
"PODC": false,
......@@ -2888,12 +2888,12 @@
"PU": false,
"PD": false,
"PBDC": false,
"PIBC": true,
"PIBC": false,
"P": false,
"PPR": false,
"PMC": false,
"PMC": true,
"PIPC": false,
"PM": false,
"PM": true,
"PFCAE": false,
"PFCE": false,
"PFC": false
......@@ -3096,7 +3096,7 @@
},
{
"pinID": "Pin_P16_9",
"pinName": "TEMP_LED_W_MCU_OUT",
"pinName": "TEMP_W_LED_OUT",
"pinAddress": "15A",
"wakeupPin": {
"pinModeName": "GPIO_OUT",
......@@ -3216,7 +3216,7 @@
},
{
"pinID": "Pin_P16_11",
"pinName": "FUEL_LED_W_MCU_OUT",
"pinName": "FUEL_W_LED_OUT",
"pinAddress": "14B",
"wakeupPin": {
"pinModeName": "GPIO_OUT",
......@@ -3281,10 +3281,10 @@
"pinList": [
{
"pinID": "Pin_P17_0",
"pinName": "CD4051A_COM2_MCU_IN",
"pinName": "BL_PWM_OUT",
"pinAddress": "14A",
"wakeupPin": {
"pinModeName": "GPIO_IN",
"pinModeName": "GPIO_OUT",
"circuitName": "SCHMITT1",
"PINV": false,
"PODC": false,
......@@ -3299,13 +3299,13 @@
"PPR": false,
"PMC": false,
"PIPC": false,
"PM": true,
"PM": false,
"PFCAE": false,
"PFCE": false,
"PFC": false
},
"sleepPin": {
"pinModeName": "GPIO_IN",
"pinModeName": "GPIO_OUT",
"circuitName": "SCHMITT1",
"PINV": false,
"PODC": false,
......@@ -3320,7 +3320,7 @@
"PPR": false,
"PMC": false,
"PIPC": false,
"PM": true,
"PM": false,
"PFCAE": false,
"PFCE": false,
"PFC": false
......@@ -3341,10 +3341,10 @@
},
{
"pinID": "Pin_P17_1",
"pinName": "CD4051A_COM3_MCU_IN",
"pinName": "BL_ACC_EN",
"pinAddress": "13B",
"wakeupPin": {
"pinModeName": "GPIO_IN",
"pinModeName": "GPIO_OUT",
"circuitName": "SCHMITT1",
"PINV": false,
"PODC": false,
......@@ -3359,13 +3359,13 @@
"PPR": false,
"PMC": false,
"PIPC": false,
"PM": true,
"PM": false,
"PFCAE": false,
"PFCE": false,
"PFC": false
},
"sleepPin": {
"pinModeName": "GPIO_IN",
"pinModeName": "GPIO_OUT",
"circuitName": "SCHMITT1",
"PINV": false,
"PODC": false,
......@@ -3380,7 +3380,7 @@
"PPR": false,
"PMC": false,
"PIPC": false,
"PM": true,
"PM": false,
"PFCAE": false,
"PFCE": false,
"PFC": false
......@@ -4543,10 +4543,10 @@
},
{
"pinID": "Pin_P21_9",
"pinName": "RR_FOG_MCU_OUT",
"pinName": "FLASH_1_IO3",
"pinAddress": "20E",
"wakeupPin": {
"pinModeName": "GPIO_OUT",
"pinModeName": "SFMA0O31",
"circuitName": "COMS1",
"PINV": false,
"PODC": false,
......@@ -4556,18 +4556,18 @@
"PU": false,
"PD": false,
"PBDC": false,
"PIBC": true,
"PIBC": false,
"P": false,
"PPR": false,
"PMC": false,
"PIPC": false,
"PMC": true,
"PIPC": true,
"PM": false,
"PFCAE": false,
"PFCE": false,
"PFC": false
},
"sleepPin": {
"pinModeName": "GPIO_OUT",
"pinModeName": "SFMA0O31",
"circuitName": "COMS1",
"PINV": false,
"PODC": false,
......@@ -4577,11 +4577,11 @@
"PU": false,
"PD": false,
"PBDC": false,
"PIBC": true,
"PIBC": false,
"P": false,
"PPR": false,
"PMC": false,
"PIPC": false,
"PMC": true,
"PIPC": true,
"PM": false,
"PFCAE": false,
"PFCE": false,
......@@ -4610,7 +4610,7 @@
"pinList": [
{
"pinID": "Pin_P22_10",
"pinName": "Rr_FOG_MCU_OUT",
"pinName": "T7_LED_OUT",
"pinAddress": "17D",
"wakeupPin": {
"pinModeName": "GPIO_OUT",
......@@ -4857,7 +4857,7 @@
},
{
"pinID": "Pin_P42_3",
"pinName": "Water_Temp_Led_R_MCU_OUT",
"pinName": "Water_Temp_Led_W_MCU_OUT",
"pinAddress": " 1M",
"wakeupPin": {
"pinModeName": "GPIO_OUT",
......@@ -4920,7 +4920,7 @@
},
{
"pinID": "Pin_P42_4",
"pinName": "Water_Temp_Led_W_MCU_OUT",
"pinName": "Water_Temp_Led_R_MCU_OUT",
"pinAddress": " 3L",
"wakeupPin": {
"pinModeName": "GPIO_OUT",
......@@ -5046,7 +5046,7 @@
},
{
"pinID": "Pin_P42_6",
"pinName": "LAMP_CONTROL_MCU_OUT",
"pinName": "ACC5V_LED_PWM_MCU",
"pinAddress": " 1L",
"wakeupPin": {
"pinModeName": "GPIO_OUT",
......@@ -5173,7 +5173,7 @@
},
{
"pinID": "Pin_P42_8",
"pinName": "LED_PWM_MCU_OUT",
"pinName": "CD4051A_COM2_MCU_IN",
"pinAddress": " 2K",
"wakeupPin": {
"pinModeName": "TAUB0O15",
......@@ -5197,7 +5197,7 @@
"PFC": false
},
"sleepPin": {
"pinModeName": "GPIO_OUT",
"pinModeName": "TAUB0O15",
"circuitName": "SCHMITT1",
"PINV": false,
"PODC": false,
......@@ -5207,14 +5207,14 @@
"PU": false,
"PD": false,
"PBDC": false,
"PIBC": true,
"PIBC": false,
"P": false,
"PPR": false,
"PMC": false,
"PMC": true,
"PIPC": false,
"PM": false,
"PFCAE": false,
"PFCE": false,
"PFCE": true,
"PFC": false
},
"pinModeList": {
......@@ -5236,10 +5236,10 @@
},
{
"pinID": "Pin_P42_9",
"pinName": "D8867_BL_EN_OUT",
"pinName": "CD4051A_COM2_MCU_IN",
"pinAddress": " 1K",
"wakeupPin": {
"pinModeName": "GPIO_OUT",
"pinModeName": "GPIO_IN",
"circuitName": "SCHMITT1",
"PINV": false,
"PODC": false,
......@@ -5254,13 +5254,13 @@
"PPR": false,
"PMC": false,
"PIPC": false,
"PM": false,
"PM": true,
"PFCAE": false,
"PFCE": false,
"PFC": false
},
"sleepPin": {
"pinModeName": "GPIO_OUT",
"pinModeName": "GPIO_IN",
"circuitName": "SCHMITT1",
"PINV": false,
"PODC": false,
......@@ -5275,7 +5275,7 @@
"PPR": false,
"PMC": false,
"PIPC": false,
"PM": false,
"PM": true,
"PFCAE": false,
"PFCE": false,
"PFC": false
......@@ -5300,10 +5300,10 @@
},
{
"pinID": "Pin_P42_10",
"pinName": "D8867_BL_PWM_OUT",
"pinName": "CD4051A_COM3_MCU_IN",
"pinAddress": " 3J",
"wakeupPin": {
"pinModeName": "GPIO_OUT",
"pinModeName": "GPIO_IN",
"circuitName": "SCHMITT1",
"PINV": false,
"PODC": false,
......@@ -5318,13 +5318,13 @@
"PPR": false,
"PMC": false,
"PIPC": false,
"PM": false,
"PM": true,
"PFCAE": false,
"PFCE": false,
"PFC": false
},
"sleepPin": {
"pinModeName": "GPIO_OUT",
"pinModeName": "GPIO_IN",
"circuitName": "SCHMITT1",
"PINV": false,
"PODC": false,
......@@ -5339,7 +5339,7 @@
"PPR": false,
"PMC": false,
"PIPC": false,
"PM": false,
"PM": true,
"PFCAE": false,
"PFCE": false,
"PFC": false
......@@ -5363,7 +5363,7 @@
},
{
"pinID": "Pin_P42_11",
"pinName": "SPEED1_PWM_MCU_OUT",
"pinName": "R6_LED_OUT",
"pinAddress": " 2J",
"wakeupPin": {
"pinModeName": "GPIO_OUT",
......@@ -5427,10 +5427,10 @@
},
{
"pinID": "Pin_P42_12",
"pinName": "ACC_AIR_LED_MCU_OUT",
"pinName": "SPEED1_PWM_MCU_OUT",
"pinAddress": " 1J",
"wakeupPin": {
"pinModeName": "GPIO_OUT",
"pinModeName": "TAUB2O11",
"circuitName": "SCHMITT1",
"PINV": false,
"PODC": false,
......@@ -5440,18 +5440,18 @@
"PU": false,
"PD": false,
"PBDC": false,
"PIBC": true,
"PIBC": false,
"P": false,
"PPR": false,
"PMC": false,
"PMC": true,
"PIPC": false,
"PM": false,
"PFCAE": false,
"PFCE": false,
"PFCE": true,
"PFC": false
},
"sleepPin": {
"pinModeName": "GPIO_OUT",
"pinModeName": "TAUB2O11",
"circuitName": "SCHMITT1",
"PINV": false,
"PODC": false,
......@@ -5461,14 +5461,14 @@
"PU": false,
"PD": false,
"PBDC": false,
"PIBC": true,
"PIBC": false,
"P": false,
"PPR": false,
"PMC": false,
"PMC": true,
"PIPC": false,
"PM": false,
"PFCAE": false,
"PFCE": false,
"PFCE": true,
"PFC": false
},
"pinModeList": {
......@@ -5494,7 +5494,7 @@
"pinName": "SPEED2_PWM_MCU_OUT",
"pinAddress": " 3H",
"wakeupPin": {
"pinModeName": "TAUB2I11",
"pinModeName": "TAUB2O13",
"circuitName": "SCHMITT1",
"PINV": false,
"PODC": false,
......@@ -5509,13 +5509,13 @@
"PPR": false,
"PMC": true,
"PIPC": false,
"PM": true,
"PM": false,
"PFCAE": false,
"PFCE": false,
"PFC": true
"PFCE": true,
"PFC": false
},
"sleepPin": {
"pinModeName": "GPIO_OUT",
"pinModeName": "TAUB2O13",
"circuitName": "SCHMITT1",
"PINV": false,
"PODC": false,
......@@ -5525,14 +5525,14 @@
"PU": false,
"PD": false,
"PBDC": false,
"PIBC": true,
"PIBC": false,
"P": false,
"PPR": false,
"PMC": false,
"PMC": true,
"PIPC": false,
"PM": false,
"PFCAE": false,
"PFCE": false,
"PFCE": true,
"PFC": false
},
"pinModeList": {
......
#new Option
#Fri Oct 15 14:33:36 CST 2021
#Mon Oct 18 14:25:02 CST 2021
=\=\=\=\=\=\=
IsSort=true
MergeFlashIsCompression=false
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment