25 lines
552 B
C
25 lines
552 B
C
//
|
|
// Created by cfif on 08.08.2025.
|
|
//
|
|
|
|
#ifndef SIMULINK_HVAC_PREDEFINE_H
|
|
#define SIMULINK_HVAC_PREDEFINE_H
|
|
|
|
#include <stdint.h>
|
|
#include <string.h>
|
|
|
|
#define SECT_SRAM_CAL __attribute__((section (".caldata")))
|
|
#define SECT_FLASH_CAL __attribute__((section (".caltext")))
|
|
#define SECT_SRAM_NVM __attribute__((section (".nvmdata")))
|
|
#define tU08 uint8_t
|
|
#define tU16 uint16_t
|
|
#define tS16 int16_t
|
|
#define tS08 int8_t
|
|
|
|
#define M_MEMCOPY(dest, src) memcpy(dest, src, sizeof(dest))
|
|
|
|
#define ID_TRUE 1
|
|
#define ID_FALSE 0
|
|
|
|
#endif //SIMULINK_HVAC_PREDEFINE_H
|