Commit 5f23038d authored by baizhengyuan's avatar baizhengyuan

feat: can初始化

parent 67b7cfd1
...@@ -87,12 +87,12 @@ const uint16_t g_u16GPIOConfigArray[56U][2U] = ...@@ -87,12 +87,12 @@ const uint16_t g_u16GPIOConfigArray[56U][2U] =
{0x0000u, 0x0000u}, {0x0000u, 0x0000u},
{0x0000u, 0x0000u}, {0x0000u, 0x0000u},
{0x0000u, 0x0000u}, {0x0000u, 0x0000u},
{0x0010u, 0x0000u},
{0x0000u, 0x0000u}, {0x0000u, 0x0000u},
{0x0010u, 0x0000u}, {0x0000u, 0x0000u},
{0x0000u, 0x0000u},
{0x00FFu, 0x00FFu}, {0x00FFu, 0x00FFu},
{0x0200u, 0x0000u}, {0x0200u, 0x0000u},
{0x03FFu, 0xC07Fu}, {0xC07Fu, 0xC07Fu},
{0xFFFFu, 0xFFFFu}, {0xFFFFu, 0xFFFFu},
}; };
static void GPIO_PIN_Init(GPIO_Config_Mode_en_t enGPIOConfigMode) static void GPIO_PIN_Init(GPIO_Config_Mode_en_t enGPIOConfigMode)
......
...@@ -74,8 +74,8 @@ void Sys_Startup_Init(void) ...@@ -74,8 +74,8 @@ void Sys_Startup_Init(void)
GPIO_SET_KEPP( ); GPIO_SET_KEPP( );
RTE_ADC_Init( ); RTE_ADC_Init( );
// COM_CAN_Init( ); COM_CAN_Init( );
// Can_Init( ); Can_Init( );
enable_interrupt( ); enable_interrupt( );
Sys_Tick_Timer_Start( ); Sys_Tick_Timer_Start( );
TFT_LCD_Startup( ); TFT_LCD_Startup( );
......
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