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
af243803
Commit
af243803
authored
Jan 28, 2026
by
何锐
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
✨
feat:增加心跳
parent
dc2cbd6a
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
CAN_Communication_Matrix.c
...test_bench/source/Appliciation/CAN_Communication_Matrix.c
+2
-2
CAN_Communication_Matrix.h
...test_bench/source/Appliciation/CAN_Communication_Matrix.h
+1
-1
mwWMHComm.c
YueJin_test_bench/source/Appliciation/mwWMHComm.c
+1
-1
No files found.
YueJin_test_bench/source/Appliciation/CAN_Communication_Matrix.c
View file @
af243803
...
...
@@ -12,8 +12,8 @@ uint8_t count = 0;
const
st_CAN_SendAttribute
CAN_CH4_CANSendAttr
[
CAN_CH4_ID_SEND_TOTAL
]
=
{
// {0x200, 100ul*1000ul, 5ul, 0u, MSG_STD, RSCAN_CHANNEL_BUF_4, 8u, CAN_MSG_TX_CYCLE, Can_Set_Buff_200, (void *)0},//车速
{
0x08
1
,
0ul
,
10ul
,
0u
,
MSG_STD
,
RSCAN_CHANNEL_BUF_5
,
8u
,
CAN_MSG_TX_CYCKE_EVENT
,
Can_Set_Buff_080
,
(
void
*
)
0
},
//时间
// {0x020
, 100ul*1000ul, 15ul, 0u, MSG_STD, RSCAN_CHANNEL_BUF_6, 8u, CAN_MSG_TX_CYCLE, Can_Set_Buff_020, (void *)0},//电量
{
0x08
0
,
0ul
,
10ul
,
0u
,
MSG_STD
,
RSCAN_CHANNEL_BUF_5
,
8u
,
CAN_MSG_TX_CYCKE_EVENT
,
Can_Set_Buff_080
,
(
void
*
)
0
},
//时间
{
0x001
,
100ul
*
1000ul
,
15ul
,
0u
,
MSG_STD
,
RSCAN_CHANNEL_BUF_6
,
8u
,
CAN_MSG_TX_CYCLE
,
Can_Set_Buff_020
,
(
void
*
)
0
},
//电量
// {0x042, 10ul*1000ul, 20ul, 0u, MSG_STD, RSCAN_CHANNEL_BUF_7, 8u, CAN_MSG_TX_CYCLE, Can_Set_Buff_042, (void *)0},//tcs
// {0x480, 500ul*1000ul, 25ul, 0u, MSG_STD, RSCAN_CHANNEL_BUF_8, 8u, CAN_MSG_TX_CYCLE, Can_Set_Buff_480, (void *)0},//GPS,4G,电话,蓝牙指示灯
// {0x280, 100ul*1000ul, 30ul, 0u, MSG_STD, RSCAN_CHANNEL_BUF_9, 8u, CAN_MSG_TX_CYCLE, Can_Set_Buff_280, (void *)0},//tcs,能量回收
...
...
YueJin_test_bench/source/Appliciation/CAN_Communication_Matrix.h
View file @
af243803
...
...
@@ -21,7 +21,7 @@ typedef enum
typedef
enum
{
CAN_CH4_ID_080
=
0
,
CAN_CH4_ID_020
,
CAN_CH4_ID_SEND_TOTAL
,
}
CAN_CH4_CAN_MSG_SEND_ID_t
;
...
...
YueJin_test_bench/source/Appliciation/mwWMHComm.c
View file @
af243803
...
...
@@ -157,7 +157,7 @@ void mwWMHCommRecvIsr_wibox(uint32_t tmpCnts)
mwWMHCommSerialBuffer
[
n
].
Bit
++
;
mwWMHCommFrameTimerCnts
[
n
].
LowLevelTime
=
0
;
mwWMHCommFrameTimerCnts
[
n
].
HighLevelTime
=
0
;
}
else
if
(
mwWMHCommFrameTimerCnts
[
n
].
HighLevelTime
>=
5
0000
)
{
}
else
if
(
mwWMHCommFrameTimerCnts
[
n
].
HighLevelTime
>=
6
0000
)
{
mwWMHCommFrame
[
n
]
=
EM_WMH_COMM_FRAME_STANDBAY
;
mwWMHCommSerialBuffer
[
n
].
Valid
=
1
;
mwWMHCommSerialBuffer
[
n
].
Byte
=
0
;
...
...
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