Skip to content

Commit d275158

Browse files
committed
Update header description
1 parent a2887a2 commit d275158

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

hal/transport/CAN/MyTransportCAN.cpp

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
1-
// from 8bits (A)
2-
// to 8bits (B)
3-
// current part 4 bits (C)
4-
// total part count 4bits (D)
1+
// from address 8bits (A)
2+
// to address 8 bits (B)
3+
// current part number 4 bits (C)
4+
// total part count 4 bits (D)
55
// 3 bits message_id (E)
66
// 1 bit require ack (F)
77
// 1 bit is ack (G)
8-
// header model (29 bits)
9-
// G FEEE DDDD CCCC BBBB BBBB AAAA AAAA
8+
// 1 bit is extended frame (H). (FIXED)
9+
// 1 bit RTR (Remote Transmission Request) (I) (FIXED)
10+
// 1 bit SRR (Substitute Remote Request) (J) (FIXED)
11+
// header model (32 bits)
12+
// HIJG FEEE DDDD CCCC BBBB BBBB AAAA AAAA
1013

1114
#include "hal/transport/CAN/driver/mcp_can.h"
1215
#include "hal/transport/CAN/driver/mcp_can.cpp"

0 commit comments

Comments
 (0)