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
019819c8
Commit
019819c8
authored
Aug 09, 2024
by
张金硕
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
http://tyw-server.synology.me:12345/shihao/haojin750tft
into jinshuo
parents
591f6495
1a87a582
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
467 additions
and
31 deletions
+467
-31
GpioUser.c
Firmware/Source/Application/GpioUser.c
+1
-1
AMT630H_Datas.c
Firmware/Source/Component/AMT630H/AMT630H_Datas.c
+458
-25
Telltales_user.c
Firmware/Source/Component/Telltales/Telltales_user.c
+8
-5
No files found.
Firmware/Source/Application/GpioUser.c
View file @
019819c8
...
...
@@ -50,7 +50,7 @@ void Gpio_Init(_GpioUser_Enum InitMode)
RTE_GPIO_Config
(
RTE_GPIO_PORT05_PIN01
,
GpioOut_Low
);
//切电控制-MCU-OUT-1
RTE_GPIO_Config
(
RTE_GPIO_PORT05_PIN02
,
GpioOut_High
);
RTE_GPIO_Config
(
RTE_GPIO_PORT05_PIN03
,
RTE_GPIO_DIR_IN
);
RTE_GPIO_Config
(
RTE_GPIO_PORT05_PIN04
,
GpioOut_High
);
RTE_GPIO_Config
(
RTE_GPIO_PORT05_PIN04
,
GpioOut_High
);
RTE_GPIO_Config
(
RTE_GPIO_PORT05_PIN05
,
RTE_GPIO_DIR_IN
);
RTE_GPIO_Config
(
RTE_GPIO_PORT06_PIN00
,
GpioOut_Low
);
//存储SCL
...
...
Firmware/Source/Component/AMT630H/AMT630H_Datas.c
View file @
019819c8
This diff is collapsed.
Click to expand it.
Firmware/Source/Component/Telltales/Telltales_user.c
View file @
019819c8
...
...
@@ -134,18 +134,21 @@ static void LED_High_Beam_Execution(Tellib_uint16_t led_status)
}
uint8_t
test
=
0
;
/*硬线-P15 低电平点亮*/
static
Tellib_uint16_t
LED_Efi_Fault_Judgement
(
void
)
{
Tellib_uint16_t
LED_STATE
=
0u
;
if
(
Line_In_Get_Status
(
LINE_IN_Efi_Fault
)
==
0u
)
if
(
Line_In_Get_Status
(
LINE_IN_Efi_Fault
))
{
LED_STATE
=
1u
;
test
=
1
;
}
else
{
LED_STATE
=
0u
;
}
return
LED_STATE
;
}
static
void
LED_Efi_Fault_Execution
(
Tellib_uint16_t
led_status
)
...
...
@@ -177,13 +180,13 @@ static void LED_ABS_Execution(Tellib_uint16_t led_status)
static
Tellib_uint16_t
LED_Auto_Start_Stop_Judgement
(
void
)
{
Tellib_uint16_t
LED_STATE
=
0u
;
if
(
Line_In_Get_Status
(
LINE_IN_Auto_Start_Stop
)
==
0
)
if
(
Line_In_Get_Status
(
LINE_IN_Auto_Start_Stop
))
{
LED_STATE
=
1
;
LED_STATE
=
1
u
;
}
else
{
LED_STATE
=
0
;
LED_STATE
=
0
u
;
}
return
LED_STATE
;
}
...
...
@@ -197,7 +200,7 @@ static void LED_Auto_Start_Stop_Execution(Tellib_uint16_t led_status)
static
Tellib_uint16_t
LED_Oil_Pressure_Alert_Judgement
(
void
)
{
Tellib_uint16_t
LED_STATE
=
0u
;
if
(
Line_In_Get_Status
(
LINE_IN_Oil_Pressure_Alert
)
==
0
)
if
(
Line_In_Get_Status
(
LINE_IN_Oil_Pressure_Alert
))
{
LED_STATE
=
1
;
}
...
...
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