Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiancetai
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
陈家乐
jiancetai
Commits
22003fc6
Commit
22003fc6
authored
Aug 23, 2024
by
陈家乐
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🐞
fix:应该是最终版了
parent
47cf920e
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
11 deletions
+14
-11
api_can_2nd.h
source/app/api_can/2ND/api_can_2nd.h
+11
-10
bsp_app_led_output.c
source/bsp_source/bsp_button/bsp_app_led_output.c
+3
-1
豪进750VA检测台0823_V101.srec
豪进750VA检测台0823_V101.srec
+0
-0
No files found.
source/app/api_can/2ND/api_can_2nd.h
View file @
22003fc6
...
@@ -4008,16 +4008,17 @@ typedef union
...
@@ -4008,16 +4008,17 @@ typedef union
unsigned
date
[
8
];
unsigned
date
[
8
];
struct
{
struct
{
uint32_t
:
8
;
uint8_t
:
8
;
uint32_t
:
8
;
uint8_t
:
8
;
uint32_t
:
8
;
uint8_t
:
8
;
uint32_t
:
2
;
uint8_t
:
2
;
uint32_t
TCS_Warning
:
1
;
uint8_t
TCS_Warning
:
1
;
uint32_t
:
5
;
uint8_t
TCS_Work_Mode
:
1
;
uint32_t
:
8
;
uint8_t
:
4
;
uint32_t
:
8
;
uint8_t
:
8
;
uint32_t
:
8
;
uint8_t
:
8
;
uint32_t
:
8
;
uint8_t
:
8
;
uint8_t
:
8
;
}
bits
;
}
bits
;
// unsigned int : 6 ;
// unsigned int : 6 ;
...
...
source/bsp_source/bsp_button/bsp_app_led_output.c
View file @
22003fc6
...
@@ -396,6 +396,7 @@ void HJ_LED(en_port_gpio_level_t LedState)
...
@@ -396,6 +396,7 @@ void HJ_LED(en_port_gpio_level_t LedState)
Port_SetPortPinLevel
(
0
,
0
,
PortGpioLow
);
//机油压力
Port_SetPortPinLevel
(
0
,
0
,
PortGpioLow
);
//机油压力
Port_SetPortPinLevel
(
2
,
13
,
PortGpioLow
);
//N档灯
Port_SetPortPinLevel
(
2
,
13
,
PortGpioLow
);
//N档灯
TCS_37B
.
msg
.
bits
.
TCS_Warning
=
0
;
//TCS
TCS_37B
.
msg
.
bits
.
TCS_Warning
=
0
;
//TCS
TCS_37B
.
msg
.
bits
.
TCS_Work_Mode
=
0
;
ISG_111
.
msg
.
bits
.
ISG_Ready
=
0
;
//HEV灯
ISG_111
.
msg
.
bits
.
ISG_Ready
=
0
;
//HEV灯
ISG_111
.
msg
.
bits
.
ISG_Power_Enable
=
0
;
//E、S灯
ISG_111
.
msg
.
bits
.
ISG_Power_Enable
=
0
;
//E、S灯
...
@@ -509,7 +510,8 @@ void HJ_LED(en_port_gpio_level_t LedState)
...
@@ -509,7 +510,8 @@ void HJ_LED(en_port_gpio_level_t LedState)
Port_SetPortPinLevel
(
2
,
0
,
PortGpioHigh
);
//左转
Port_SetPortPinLevel
(
2
,
0
,
PortGpioHigh
);
//左转
Port_SetPortPinLevel
(
2
,
1
,
PortGpioHigh
);
//远光
Port_SetPortPinLevel
(
2
,
1
,
PortGpioHigh
);
//远光
Port_SetPortPinLevel
(
2
,
21
,
PortGpioLow
);
//ABS
Port_SetPortPinLevel
(
2
,
21
,
PortGpioLow
);
//ABS
Port_SetPortPinLevel
(
1
,
28
,
PortGpioHigh
);
//电故障 备用1
Port_SetPortPinLevel
(
2
,
28
,
PortGpioHigh
);
//电故障 备用1
Port_SetPortPinLevel
(
1
,
13
,
PortGpioHigh
);
//右转
Port_SetPortPinLevel
(
1
,
13
,
PortGpioHigh
);
//右转
Port_SetPortPinLevel
(
0
,
0
,
PortGpioHigh
);
//机油压力
Port_SetPortPinLevel
(
0
,
0
,
PortGpioHigh
);
//机油压力
Port_SetPortPinLevel
(
2
,
13
,
PortGpioHigh
);
//N档灯
Port_SetPortPinLevel
(
2
,
13
,
PortGpioHigh
);
//N档灯
...
...
豪进750VA检测台0823_V101.srec
0 → 100644
View file @
22003fc6
This diff is collapsed.
Click to expand it.
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