Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
haoJin750TFT
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
时昊
haoJin750TFT
Commits
c1b3d990
Commit
c1b3d990
authored
Jul 27, 2024
by
时昊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
✨
feat:修改15电唤醒引脚,使用p05中断
parent
147f7d6f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
gpio.c
...urce/Device/Cmsemicon/BAT32A279/Library/Driver/src/gpio.c
+2
-2
No files found.
Firmware/Source/Device/Cmsemicon/BAT32A279/Library/Driver/src/gpio.c
View file @
c1b3d990
...
...
@@ -134,7 +134,7 @@ const GPIO_PIN_AF_TABLE_t funcAfTab[] =
{
GROUP_AF_INTP5
,
{{
GPIO_PIOR0
,
PIOR_BIT4
,
GPIO_P12
},
{
PIOR_NONE
,
PIOR_BIT0
,
GPIO_DEF
},
{
PIOR_NONE
,
PIOR_BIT0
,
GPIO_DEF
}}},
{
GROUP_AF_INTP8
,
{{
GPIO_PIOR0
,
PIOR_BIT0
,
GPIO_P42
},
{
GPIO_PIOR0
,
PIOR_BIT7
,
GPIO_P00
},
{
PIOR_NONE
,
PIOR_BIT0
,
GPIO_DEF
}}},
{
GROUP_AF_INTP9
,
{{
GPIO_PIOR0
,
PIOR_BIT0
,
GPIO_P43
},
{
PIOR_NONE
,
PIOR_BIT0
,
GPIO_DEF
},
{
PIOR_NONE
,
PIOR_BIT0
,
GPIO_DEF
}}},
{
GROUP_AF_INTP10
,{{
GPIO_PIOR0
,
PIOR_BIT1
,
GPIO_P05
},
{
GPIO_PIOR0
,
PIOR_BIT7
,
GPIO_P01
},
{
PIOR_NONE
,
PIOR_BIT0
,
GPIO_DEF
}}},
{
GROUP_AF_INTP10
,{{
PIOR_NONE
,
PIOR_BIT1
,
GPIO_P05
},
{
GPIO_PIOR0
,
PIOR_BIT7
,
GPIO_P01
},
{
PIOR_NONE
,
PIOR_BIT0
,
GPIO_DEF
}}},
{
GROUP_AF_INTP11
,{{
GPIO_PIOR0
,
PIOR_BIT1
,
GPIO_P06
},
{
GPIO_PIOR0
,
PIOR_BIT7
,
GPIO_P20
},
{
PIOR_NONE
,
PIOR_BIT0
,
GPIO_DEF
}}},
{
GROUP_AF_SDO00
,
{{
GPIO_PIOR0
,
PIOR_BIT1
,
GPIO_P17
},
{
PIOR_NONE
,
PIOR_BIT0
,
GPIO_DEF
},
{
PIOR_NONE
,
PIOR_BIT0
,
GPIO_DEF
}}},
{
GROUP_AF_SDI00
,
{{
GPIO_PIOR0
,
PIOR_BIT1
,
GPIO_P16
},
{
PIOR_NONE
,
PIOR_BIT0
,
GPIO_DEF
},
{
PIOR_NONE
,
PIOR_BIT0
,
GPIO_DEF
}}},
...
...
@@ -520,7 +520,7 @@ void GPIO_SetPIOR(uint16_t idx,GPIO_Source_t GPIO_Source_Grp)
* @param PORTx: where x can be (0..14) to select the GPIO peripheral for BAT32G137 devices
* @param GPIO_Pin: specifies the port bits to be written.
* This parameter can be any combination of GPIO_Pin_x where x can be (0..7).
* @param GPIO_Source_Grp: specifies the port bits and port,such as P70P51......
* @param GPIO_Source_Grp: specifies the port bits and port,such as P70
��
P51......
* @param GPIO_AF: digital functions which can be mapped to any chip pin
* @retval error or success .
*/
...
...
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