avr: added def and code for CPRO_CMD_DATA

This commit is contained in:
Martin Preuss
2024-11-03 15:35:32 +01:00
parent f002587aee
commit bc7a549513
2 changed files with 21 additions and 0 deletions

View File

@@ -294,3 +294,22 @@ Offset Length Meaning
DATA Message
============
Offset Length Meaning
---------------------------------------------------------
0 1 destination address
1 1 remaining message length
---------------------------------------------------------
2 1 command code
3 1 source address
---------------------------------------------------------
4 2 msg id/ref msg id
6 n data bytes
---------------------------------------------------------
6+n 1 CRC8 byte

View File

@@ -52,6 +52,8 @@
.equ CPRO_CMD_VALUE_SET_ACK = 102
.equ CPRO_CMD_VALUE_SET_NACK = 103
.equ CPRO_CMD_DATA = 110
; ---------------------------------------------------------------------------
; offsets in CPRO_CMD_VALUE_* messages