Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiancetai
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
陈家乐
jiancetai
Commits
5f23038d
Commit
5f23038d
authored
Mar 28, 2025
by
baizhengyuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
✨
feat: can初始化
parent
67b7cfd1
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
GPIO.c
YueJin_test_bench/source/Driver/GPIO/GPIO.c
+3
-3
init.c
YueJin_test_bench/source/System/init.c
+2
-2
No files found.
YueJin_test_bench/source/Driver/GPIO/GPIO.c
View file @
5f23038d
...
...
@@ -87,12 +87,12 @@ const uint16_t g_u16GPIOConfigArray[56U][2U] =
{
0x0000u
,
0x0000u
},
{
0x0000u
,
0x0000u
},
{
0x0000u
,
0x0000u
},
{
0x0010u
,
0x0000u
},
{
0x0000u
,
0x0000u
},
{
0x0010u
,
0x0000u
},
{
0x0000u
,
0x0000u
},
{
0x0000u
,
0x0000u
},
{
0x00FFu
,
0x00FFu
},
{
0x0200u
,
0x0000u
},
{
0x
03F
Fu
,
0xC07Fu
},
{
0x
C07
Fu
,
0xC07Fu
},
{
0xFFFFu
,
0xFFFFu
},
};
static
void
GPIO_PIN_Init
(
GPIO_Config_Mode_en_t
enGPIOConfigMode
)
...
...
YueJin_test_bench/source/System/init.c
View file @
5f23038d
...
...
@@ -74,8 +74,8 @@ void Sys_Startup_Init(void)
GPIO_SET_KEPP
(
);
RTE_ADC_Init
(
);
//
COM_CAN_Init( );
//
Can_Init( );
COM_CAN_Init
(
);
Can_Init
(
);
enable_interrupt
(
);
Sys_Tick_Timer_Start
(
);
TFT_LCD_Startup
(
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment