Исправить порядок слов BALZAM CAN и добавить поддержку пульта МПУ

This commit is contained in:
2026-10-02 16:41:25 +03:00
parent a63c1dd7d8
commit 025a3fde28
7 changed files with 74 additions and 21 deletions

View File

@@ -3,7 +3,10 @@
* @brief CAN_Bal_2812 extended-CAN register space.
*
* The wire layout is used by BALZAM Src/balzam_7/CanSetupBalzam7.c:
* one big-endian address/mask word followed by three big-endian register words.
* eCAN MDL precedes MDH on the wire: value2, value3, address/mask, value1.
* Each word is big-endian; address/mask is at bytes 4..5, not 0..1.
* BA000x routes PM -> node; BA001x routes node -> PM.
* The MPU panel uses 745009 / 745019 with the same register layout.
*/
#ifndef BALSAM_CAN_H
#define BALSAM_CAN_H