//############################################################################################################################################################################################################# #ifndef _INC_IDIBUS_IMPL_H_ #define _INC_IDIBUS_IMPL_H_ //------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- #include #include "IDIBUS_BOOTLOADER_DEFS.h" #include #include #include "System.h" #include "bootFunctions.h" //#include "MODBUS_CRC.h" #include #include "USART_COM.h" #include "RSLink.h" #include "CRCs.h" //#include "EEPROM_Fast.h" //------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- typedef struct { uint8_t ComFunc; uint16_t InpDataLength; volatile uint8_t *OutData; uint16_t OutDataLength; uint8_t SMPS; //uint8_t ErrorState; //uint8_t LongOpState; } IDIBUS_FARG_TYPE; //------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- IDIBUS_FARG_TYPE FARG; //------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- //------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- #define IDIBUS_SYSTEM_SW_VERSION 0x3133U //------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- void IDIBUS_ModuleCommandHandler(); //------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- void IDIBUS_ResponseProtectedWrite(uint8_t *Data, uint16_t DataLength, uint8_t ErrorCode); void IDIBUS_ModuleBackgroundHandler(void); //------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- #endif // #ifndef _INC_IDIBUS_IMPL_H_ //#############################################################################################################################################################################################################