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
138d857d
Commit
138d857d
authored
Jul 08, 2024
by
时昊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
✨
feat:增加按键功能
parent
bd899f06
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
14 deletions
+4
-14
Sys_Task_List.c
Firmware/Source/System/Sys_Task_List.c
+4
-14
No files found.
Firmware/Source/System/Sys_Task_List.c
View file @
138d857d
...
...
@@ -24,6 +24,9 @@ void Sys_5ms_Tasks(void)
void
Sys_10ms_Tasks
(
void
)
{
Key_Service
();
Key_Clear_Time
();
Key_TimeOut_Service
();
Fuel_R_Cal
(
10u
);
}
...
...
@@ -35,26 +38,13 @@ void Sys_20ms_Tasks(void)
void
Sys_50ms_Tasks
(
void
)
{
g_u8Cursor_Posittion
=
Menu_Get_Current_Cursor_Information
();
}
uint32_t
g_u32LEDFlag
=
0UL
;
//uint8_t ljsuartsend[2] = { 0x55, 0x66};
void
Sys_100ms_Tasks
(
void
)
{
if
(
g_u32LEDFlag
)
{
g_u32LEDFlag
=
0UL
;
//RTE_GPIO_Set_Level(RTE_GPIO_ANALOG_PORT0_PIN15, 0x01U);
}
else
{
g_u32LEDFlag
=
1UL
;
//RTE_GPIO_Set_Level(RTE_GPIO_ANALOG_PORT0_PIN15, 0x00U);
}
Fuel_Cal_Sevice
(
100u
);
RTE_GPIO_Set_Level
(
Blacklight_PWM
,
1
);
//UART_Ch2_Send_Multiple_Byte(ljsuartsend, 2);
}
static
uint16_t
task_2ms
=
0u
;
void
Sys_Exact_50us_Tasks
(
void
)
...
...
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