avr: added message, fixed description.

This commit is contained in:
Martin Preuss
2024-10-20 18:40:50 +02:00
parent 3cba4a1f7c
commit b78fc0999b
2 changed files with 21 additions and 1 deletions

View File

@@ -51,6 +51,24 @@ Offset Length Meaning
RESULT Message
==============
Offset Length Meaning
---------------------------------------------------------
0 1 destination address
1 1 remaining message length
---------------------------------------------------------
2 1 command code
3 1 source address
---------------------------------------------------------
4 2 ref msg id
6 1 result code
---------------------------------------------------------
7 1 CRC8 byte
Address Messages
================
@@ -107,7 +125,7 @@ Offset Length Meaning
12 2 value
14 2 denom
---------------------------------------------------------
15 1 CRC8 byte
16 1 CRC8 byte

View File

@@ -26,6 +26,8 @@
.equ CPRO_CMD_TWIBUSMEMBER = 30
.equ CPRO_CMD_DEBUG = 40
.equ CPRO_CMD_RESULT = 50
.equ CPRO_CMD_NEED_ADDRESS = 60
.equ CPRO_CMD_HAVE_ADDRESS = 61
.equ CPRO_CMD_CLAIM_ADDRESS = 62