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
dc9e5be9
Commit
dc9e5be9
authored
Jul 29, 2024
by
时昊
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'shihao' into 'dev'
Shihao See merge request
!6
parents
e20aaf97
7fd69ea6
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
PowerManag_user.c
Firmware/Source/Component/PowerManagement/PowerManag_user.c
+2
-2
gpio.c
...urce/Device/Cmsemicon/BAT32A279/Library/Driver/src/gpio.c
+2
-2
system_BAT32A279.c
...emicon/BAT32A279/Startup/Device/Source/system_BAT32A279.c
+1
-1
No files found.
Firmware/Source/Component/PowerManagement/PowerManag_user.c
View file @
dc9e5be9
...
...
@@ -66,7 +66,7 @@ static void Power_KL30_Init(void)
Menu_User_Init
();
Can_Init
();
Protocol_KL30_Wakeup_Init
();
//
RTE_DEEPSLEEP_GPIO_Interrupt_Enable(KL15_AD_IN, Trigger_Rising);
RTE_DEEPSLEEP_GPIO_Interrupt_Enable
(
KL15_AD_IN
,
Trigger_Rising
);
}
static
void
Power_Wakeup_Init
(
void
)
...
...
@@ -90,7 +90,7 @@ static void Power_Wakeup_Init(void)
Menu_User_WAKEUP
();
Can_Init
();
Protocol_KL30_Wakeup_Init
();
//
RTE_DEEPSLEEP_GPIO_Interrupt_Enable(KL15_AD_IN, Trigger_Rising);
RTE_DEEPSLEEP_GPIO_Interrupt_Enable
(
KL15_AD_IN
,
Trigger_Rising
);
}
static
void
Power_LVP_Init
(
void
)
...
...
Firmware/Source/Device/Cmsemicon/BAT32A279/Library/Driver/src/gpio.c
View file @
dc9e5be9
...
...
@@ -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 .
*/
...
...
Firmware/Source/Device/Cmsemicon/BAT32A279/Startup/Device/Source/system_BAT32A279.c
View file @
dc9e5be9
...
...
@@ -79,7 +79,7 @@ const uint8_t user_opt_data[4] __attribute__((used)) __attribute__((section(".AR
// </e>
// </e>
// </h>
0x
EF
,
0x
7E
,
/**
* @brief LVD Control BYTE (C1H)
...
...
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