Commit d7650c09 authored by 王佳伟's avatar 王佳伟

feat: 初始屏幕 彩条 修改为白色

parent e9ea20dd
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
No preview for this file type
No preview for this file type
This diff is collapsed.
This diff is collapsed.
No preview for this file type
output\project.out .intvect 1944 output\project.out .intvect 1944
output\project.out .rodata 19925 output\project.out .rodata 19925
output\project.out .text 80670 output\project.out .text 80702
output\project.out .R_FCL_CODE_ROM 894 output\project.out .R_FCL_CODE_ROM 894
output\project.out .R_FCL_CONST 19 output\project.out .R_FCL_CONST 19
output\project.out .R_FCL_CODE_USR 246 output\project.out .R_FCL_CODE_USR 246
......
...@@ -97,47 +97,9 @@ void Sys_Startup_Init(void) ...@@ -97,47 +97,9 @@ void Sys_Startup_Init(void)
Display_Init(); Display_Init();
/*PWM初始化*/ /*PWM初始化*/
BSP_PWM_Init(); BSP_PWM_Init();
// init_96751(); // init_96751();
init_951(); init_951();
/*上电时序*/
//PowerON_Sequential();
/*指令数据初始化*/
///COM_948_SLAVE_INIT();
//测试
//BSP_GPIO_BL_EN(1);
/* uint32_t *pRam;
uint8_t u8StartupMode;
UART_Channel_Config_st_t loc_config;
uint32_t i;
u8StartupMode = system_startup_mode( );
if ( u8StartupMode == 1u )
{
u8StartupMode = 0x55u;
}
else
{
u8StartupMode = 0u;
pRam = ( unsigned int * )0xFEBF8000ul;
for ( i = 0; i < 0x2000; i++ )
{
pRam [ i ] = 0;
}
}
WDT_Init( );
GenDelay_Init(WDT__Clear);
RTE_ADC_Init( );
Sys_Tick_Timer_Call_Back_Reg(Sys_Process_ISR);
RTE_GPIO_Init( );
GPIO_SET_KEPP( );
PWN_Init( );
enable_interrupt( );
Sys_Tick_Timer_Start( );
RTE_GPIO_Squence( );*/
} }
......
...@@ -523,9 +523,9 @@ void switch_951_init(uint8_t work_mode) ...@@ -523,9 +523,9 @@ void switch_951_init(uint8_t work_mode)
BSP_Delay_ms(10); BSP_Delay_ms(10);
AIM951_i2c_send(0x11, 0x03); AIM951_i2c_send(0x11, 0x03);
BSP_Delay_ms(10); BSP_Delay_ms(10);
AIM951_i2c_send(0x02, 0x44); AIM951_i2c_send(0x02, 0x06);
BSP_Delay_ms(10); BSP_Delay_ms(10);
AIM951_i2c_send(0x00, 0x05); AIM951_i2c_send(0x00, 0x23);
AIM951_i2c_send(0xFF, 0x00); AIM951_i2c_send(0xFF, 0x00);
BSP_Delay_ms(10); BSP_Delay_ms(10);
...@@ -744,15 +744,14 @@ void switch_951_Color(uint8_t in) ...@@ -744,15 +744,14 @@ void switch_951_Color(uint8_t in)
break; break;
} }
} }
// 96751初始化
// void init_96751(void)
// {
// switch_96751_3G_6G(SET_96751_3G);
// }
void init_951(void) void init_951(void)
{ {
AIM951_i2c_send(0xFF, 0x01);
BSP_Delay_ms(10);
AIM951_i2c_send(0x02, 0x04);
BSP_Delay_ms(10);
AIM951_i2c_send(0x00, 0x23);
BSP_Delay_ms(10);
switch_951_init(1); switch_951_init(1);
} }
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