Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
R
RT_RMR42E
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
时昊
RT_RMR42E
Commits
ee674840
Commit
ee674840
authored
Jun 05, 2025
by
李冠华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🐞
fix:修改IIC初始化配置。ID:114240
parent
c85b23cc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
GpioUser.c
Firmware/Source/Application/GPIO_USER/GpioUser.c
+4
-4
No files found.
Firmware/Source/Application/GPIO_USER/GpioUser.c
View file @
ee674840
...
@@ -53,10 +53,10 @@ void Gpio_Init(_GpioUser_Enum InitMode)
...
@@ -53,10 +53,10 @@ void Gpio_Init(_GpioUser_Enum InitMode)
RTE_GPIO_Config
(
RTE_GPIO_PORT05_PIN04
,
GpioOut_Low
);
//空
RTE_GPIO_Config
(
RTE_GPIO_PORT05_PIN04
,
GpioOut_Low
);
//空
RTE_GPIO_Config
(
RTE_GPIO_PORT05_PIN05
,
GpioOut_Low
);
//空
RTE_GPIO_Config
(
RTE_GPIO_PORT05_PIN05
,
GpioOut_Low
);
//空
RTE_GPIO_Config
(
RTE_GPIO_PORT06_PIN00
,
GpioOut_Low
);
//存储SCL
RTE_GPIO_Config
(
RTE_GPIO_PORT06_PIN00
,
RTE_GPIO_DIR_IN
);
//存储SCL
RTE_GPIO_Config
(
RTE_GPIO_PORT06_PIN01
,
GpioOut_Low
);
//存储SDA
RTE_GPIO_Config
(
RTE_GPIO_PORT06_PIN01
,
RTE_GPIO_DIR_IN
);
//存储SDA
RTE_GPIO_Config
(
RTE_GPIO_PORT06_PIN02
,
GpioOut_Low
);
//SCL_MCU
RTE_GPIO_Config
(
RTE_GPIO_PORT06_PIN02
,
RTE_GPIO_DIR_IN
);
//SCL_MCU
RTE_GPIO_Config
(
RTE_GPIO_PORT06_PIN03
,
GpioOut_Low
);
//SDA_MCU
RTE_GPIO_Config
(
RTE_GPIO_PORT06_PIN03
,
RTE_GPIO_DIR_IN
);
//SDA_MCU
RTE_GPIO_Config
(
RTE_GPIO_PORT07_PIN00
,
RTE_GPIO_DIR_IN
);
//段码SPI20-SCL-2
RTE_GPIO_Config
(
RTE_GPIO_PORT07_PIN00
,
RTE_GPIO_DIR_IN
);
//段码SPI20-SCL-2
RTE_GPIO_Config
(
RTE_GPIO_PORT07_PIN01
,
RTE_GPIO_DIR_IN
);
//段码SPI20-CSB-2
RTE_GPIO_Config
(
RTE_GPIO_PORT07_PIN01
,
RTE_GPIO_DIR_IN
);
//段码SPI20-CSB-2
...
...
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