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.
19 lines
802 B
C
19 lines
802 B
C
void Load_runner(void);
|
|
void Anal_output(long vrot, long maxx);
|
|
void Init_DAC(void);
|
|
void Setup_DAC_time(void);
|
|
|
|
/* Ñ÷¸ò÷èê ïóñêîâîãî èìïóëüñà è âûäåðæêè èíèöèàëèçàöèè äîñòóïíû ëîããåðó. */
|
|
extern unsigned long IMPowse, WAKEpowse;
|
|
extern unsigned int period_dac, time_dac;
|
|
|
|
/* Call once before IRQ; complete technological CAN packets update voltage. */
|
|
void Load_control_init(void);
|
|
void Load_voltage_can(unsigned int header, unsigned int a,
|
|
unsigned int b, unsigned int c);
|
|
|
|
/* 0x1300/8 words: signature, version, simulation, timeout, status, attempts,
|
|
* voltage, age. Only 0x1302 (simulation) and 0x1303 (timeout) are writable. */
|
|
unsigned int Load_protection_prepare(unsigned int function, unsigned int address,
|
|
unsigned int value, unsigned int *out, unsigned int *error);
|