Files
Balsam_167/tests/load_control/stubs/package.h
T
Andrey 5d9818291b feat: add M95M02-only GAS and EEPROM profiles
Expose the existing registers through Modbus and service CAN using one GAS provider only in M95M02 builds.
Include the EEPROM layout/driver, LOAD protection and calibration, firmware identity and shared CCS build workflow.
Add transport/profile and SCI8 validation tests, documentation and the checked M95M02 firmware image.
2026-10-09 16:17:37 +03:00

18 lines
519 B
C

#define dsk_LOAD 6
#define adr_LOA1 5
#define adr_LOA2 6
#define Commands modbus[127]
#define cUMPstart (Commands & 0x80)
#define cUMPreset (Commands & 0x40)
extern unsigned int test_init_dac;
#define cInitDac test_init_dac
#define cCalibrDac (Commands & 0x200)
#define DAC_go modbus[0x50]
#define DAC_stop modbus[0x51]
#define LOAD_CAN_TIMEOUT modbus[0x52]
#define LOAD_STATUS modbus[0x7C]
#define LOAD_ATTEMPTS modbus[0x7D]
#define DAC_min() modbus[0x79]
#define DAC_max() modbus[0x78]
#define DAC_cal() modbus[0x7A]