Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
IVECO_NS216
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
时昊
IVECO_NS216
Commits
b8ab33a4
Commit
b8ab33a4
authored
Jul 02, 2024
by
时昊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
✨
feat:修改P45_5脚写保护
parent
19580e6a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
GPIO.c
source/Driver/GPIO/GPIO.c
+1
-1
No files found.
source/Driver/GPIO/GPIO.c
View file @
b8ab33a4
...
@@ -46,7 +46,7 @@ void GPIO_Init(GPIO_Config_Mode_en_t enGPIOConfigMode)
...
@@ -46,7 +46,7 @@ void GPIO_Init(GPIO_Config_Mode_en_t enGPIOConfigMode)
// GPIO_PIN_Init(GPIO_SLEEP_MODE);
// GPIO_PIN_Init(GPIO_SLEEP_MODE);
RTE_GPIO_Sleep_Init
();
RTE_GPIO_Sleep_Init
();
/*All ports except P0 into hold state*/
/*All ports except P0 into hold state*/
GPIO_STB_PROTECTED_WRITE
(
SYSPROTCMD0
,
SYSPROTS0
,
SYSIOHOLD
,
0x7
E
U
);
GPIO_STB_PROTECTED_WRITE
(
SYSPROTCMD0
,
SYSPROTS0
,
SYSIOHOLD
,
0x7
6
U
);
//GPIO_PIN_Init(GPIO_SLEEP_MODE);
//GPIO_PIN_Init(GPIO_SLEEP_MODE);
}
}
}
}
...
...
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