Commit 1876dc47 authored by hu's avatar hu

调整燃油库,调整燃油相关用法

parent 1990c6d8
......@@ -90,7 +90,7 @@
.\APP\Data_Fuel\Data_Fuel_User.c
.\APP\Data_Fuel\Data_Fuel_User.h
.\APP\Data_Fuel\FuelConfig.h
.\APP\Data_Fuel\TruckFuel_RH850_V1.4.a
.\APP\Data_Fuel\TruckFuel_RH850_V1.5.a
.\APP\GaugesMode\Gauges.c
.\APP\GaugesMode\Gauges.h
.\APP\GaugesMode\GaugesInterface.c
......
......@@ -152,6 +152,9 @@ void Power_Sleep_Init(void)
UART_Sleep_Init();
/*燃油库睡眠前需要调用 ----20220503----*/
Fuel_User_Sleep_Init();
GPIO_Init(GPIO_SLEEP_MODE );
}
......@@ -183,6 +186,9 @@ Power_Status_t Power_Wakeup_Init ( void )
/*安全带 车门部分 李茂军维护结束*/
RTE_PWM_Init();
/*燃油新增 ----20220503----*/
Fuel_User_Wakeup_Init();
VCC12V0_OUT_EN = 1u; /*12V 电源使能*/
VCC05V0_OUT_EN = 1u; /*外设5V 电源使能*/
D1530_EN_MCU_OUT = 1u; /*1530 使能*/
......
......@@ -10,11 +10,13 @@
#define ENTER_LOW_Y_RANGE 9000U
#define EXIT_LOW_Y_RANGE 9500U
#define EXIT_HIGH_Y_RANGE 32000U
#define ENTER_HIGH_Y_RANGE 32500U
#define EXIT_HIGH_Y_RANGE 26000U
#define EXIT_HIGH_N_RANGE 31000U
#define ENTER_HIGH_N_RANGE 33000U
#define ENTER_HIGH_Y_RANGE 26500U
#define EXIT_HIGH_N_RANGE 28500U
#define ENTER_HIGH_N_RANGE 29000U
#define Top_Vol 0xffffu
......
......@@ -55,7 +55,7 @@ CONSTANTS
MEMORY
{
iROM_0 : ORIGIN = 0x00000000, LENGTH = 5120k
iROM_0 : ORIGIN = 0x00000000, LENGTH = 2048k
iRAM_0 : ORIGIN = 0xFEB80000, LENGTH = 512k /* RAM addres space seen by external bus masters */
iRAM_1 : ORIGIN = 0xFED80000, LENGTH = 512k /* local RAM address space */
iRAM_R0 : ORIGIN = 0x3FCE4000, LENGTH = 1k
......
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