62 #if CONOPSYS_TARGET == CONOPSYS_TARGET_DEVICE
148 #if ( COM1_COMMUNICATION_MODE == USART_COMMUNICATION_MODE_MODBUS_RTU )
154 #if ( COM2_COMMUNICATION_MODE == USART_COMMUNICATION_MODE_MODBUS_RTU )
160 #if ( COM3_COMMUNICATION_MODE == USART_COMMUNICATION_MODE_MODBUS_RTU )
170 #if ( CAN1_MODULE_INSTALLED == true )
788 #if ( ETHERNET_MODULE_INSTALLED == true )
ConOpSys deploy target definitions file.
ConOpSys variant class header file.
int BOOL
Boolean datatype definition.
Definition: Defines.h:124
#define NULL
Definition: Defines.h:388
unsigned long long U64
Binary 64-Bit unsigned integer datatype defenition.
Definition: Defines.h:213
void VOID
Datatypesess datatype definition.
Definition: Defines.h:105
unsigned long U32
Binary 32-Bit unsigned integer datatype defenition.
Definition: Defines.h:203
unsigned short U16
Binary 16-Bit unsigned integer datatype defenition.
Definition: Defines.h:193
char C8
ASCII 8-Bit char datatype defenition.
Definition: Defines.h:156
Application background task alarm status parameter class header file.
Application background task critical status parameter class header file.
Application background task status information object header file.
Application background task trip status information object header file.
Application background task warning status information object header file.
Application control task alarm status information object header file.
Application control task critical status information object header file.
Application control task sample time object header file.
Application control task status information object header file.
Application control task trip status information object header file.
Application control task warning status information object header file.
Application error reset parameter object header file.
Device global FSM state. object header file.
Device hardware trip request 1 latch. object header file.
Device hardware trip request 1 status. object header file.
Device hardware trip request 2 latch. object header file.
Device hardware trip request 2 status. object header file.
Application executable image hash value object header file.
Application identifier object header file.
Device software trip request 1 latch. object header file.
Device software trip request 1 status. object header file.
Device software trip request 2 latch. object header file.
Device software trip request 2 status. object header file.
Application system task alarm status information object header file.
Application system task critical status information object header file.
Application system task sample time object header file.
Application system task status information object header file.
Application system task trip status information object header file.
Application system task warning status information object header file.
ConOpSys parameter base class header file.
Device type parameter object header file.
Error register parameter object header file.
CANopen node ID object header file.
Receive PDO1 data object header file.
Receive PDO2 data object header file.
Receive PDO3 data object header file.
Receive PDO4 data object header file.
Transmit PDO1 data object header file.
Transmit PDO2 data object header file.
Transmit PDO3 data object header file.
Transmit PDO4 data object header file.
Communication link COM1 MODBUS slave address parameter object header file.
Communication link COM2 MODBUS slave address parameter object header file.
Communication link COM3 MODBUS slave address parameter object header file.
GATEWAY address parameter object header file.
IPv4 address parameter object header file.
MAC address parameter object header file.
MASK address parameter object header file.
Device information access parameter object header file.
Device information application identifier parameter object header file.
Device information country identifier parameter object header file.
Device information customer identifier parameter object header file.
Device information firmware identifier parameter object header file.
Device information hardware identifier parameter object header file.
Device information identifier parameter object header file.
Device information language identifier parameter object header file.
Event database access parameter object header file.
Event database current index parameter object header file.
Event database event absolute timestamp parameter object header file.
Event database event description parameter object header file.
Event database event group identifier parameter object header file.
Event database event identifier parameter object header file.
Event database event relative timestamp parameter object header file.
Event database event task identifier parameter object header file.
Event database event task iteration parameter object header file.
Event database first index parameter object header file.
Event databse hash parameter object header file.
Event database identifier parameter object header file.
Event database last index parameter object header file.
TParameter_Manager object_Parameter_Manager
Export global parameter database object.
Definition: Parameter_Manager.cpp:82
Parameter database access parameter object header file.
Parameter value clear timeout parameter object header file.
Parameter databse hash parameter object header file.
Parameter database identifier parameter object header file.
Parameter database media state parameter object header file.
Parameter database password parameter object header file.
Parameter database size parameter object header file.
Parameter database user parameter object header file.
Scope access parameter object header file.
Scope channel count parameter object header file.
Scope channel data parameter object header file.
Scope schannel data decimation factor parameter object header file.
Scope channel data index parameter object header file.
Scope channel count parameter object header file.
Scope channel data timebase parameter object header file.
Scope channel index parameter object header file.
Scope channel parameter ID parameter object header file.
Scope identifier parameter object header file.
Scope trigger data parameter object header file.
Scope channel data parameter object header file.
Scope trigger parameter ID parameter object header file.
Scope trigger state parameter object header file.
VDC panel access parameter object header file.
VDC panel identifier parameter object header file.
SPI connected memory base class header file.
System resource header file.
Parameter base class.
Definition: Parameter_Base.h:60
Parameter database manager class.
Definition: Parameter_Manager.h:842
VOID Increment_Media_Read_Error_Count()
Definition: Parameter_Manager.cpp:2346
BOOL Restore_Nonvolatile_Parameter_Values()
Restore nonvolatile and quasinonvolatile parameter values from storage.
Definition: Parameter_Manager.cpp:3505
TSPI_Memory_Base * object_Media
Pointer to the SPI memory object.
Definition: Parameter_Manager.h:1469
~TParameter_Manager()
Class destructor method.
Definition: Parameter_Manager.cpp:116
BOOL Media_Database_Validate_Record(TParameter_Table_Record *struct_Record)
Definition: Parameter_Manager.cpp:2847
BOOL Allocate_Parameter_Media_Storege_Index(U32 *u32_New_Media_Storage_Index)
Definition: Parameter_Manager.cpp:3348
U32 Calculate_Database_Hash()
Calculate parameter descriptor database hash description.
Definition: Parameter_Manager.cpp:4278
BOOL Register(TParameter_Base *object_Parameter)
Register parameter in to the parameter database.
Definition: Parameter_Manager.cpp:2190
VOID Get_Usage(U32 *u32_Parameter_Capacity, U32 *u32_Parameter_Count)
Get parameter manages storage usage method.
Definition: Parameter_Manager.cpp:4175
U32 u32_Parameter_Storage_Overflow_Counter
Amount of parameter not fitted in parameter storage.
Definition: Parameter_Manager.h:1487
U32 Get_Not_Initialised_Parameter_Count()
Get count of not initialised parameters.
Definition: Parameter_Manager.cpp:1416
U32 u32_Nonvolatile_Parameter_Rewrite_Success_Count
Nonvolatile parameter rewrite success count.
Definition: Parameter_Manager.h:1514
U32 Get_OS_Status()
This method return OS status.
Definition: Parameter_Manager.cpp:4200
BOOL bool_Media_Out_Of_Memory
Parameter database media out of memory error flag.
Definition: Parameter_Manager.h:1520
BOOL bool_Double_Parameter_Registration
Double parameter registration flag, shows that same parameter tried registered twice.
Definition: Parameter_Manager.h:1496
BOOL Verify_Writtern_Record(TParameter_Table_Record *struct_Record_Reference)
Definition: Parameter_Manager.cpp:4488
BOOL bool_Media_Database_Initialisation_Request
Parameter database media initialisation request flag.
Definition: Parameter_Manager.h:1502
BOOL Recall_Nonvolatile_Parameter_Values()
Read nonvolatile and quasinonvolatile parameter values from storage.
Definition: Parameter_Manager.cpp:3611
U32 u32_Media_Database_Record_Body_CRC_Error_Count
Parameter database media record body CRC error count.
Definition: Parameter_Manager.h:1529
BOOL Get_Parameter_By_Index(U32 u32_Parameter_Index, TParameter_Base **object_Parameter)
Get pointer to the parameter referenced by parameter storage index.
Definition: Parameter_Manager.cpp:1887
U32 u32_Media_Database_Update_Request_Counter
Parameter database update request counter.
Definition: Parameter_Manager.h:1517
BOOL bool_First_Empty_Block_Index_Valid
Fix empty block status.
Definition: Parameter_Manager.h:1538
VOID Media_Database_Check()
U32 u32_Media_Write_Error_Count
Parameter database media write error count.
Definition: Parameter_Manager.h:1526
BOOL bool_Double_Parameter_ID
Double parameter ID flag, shows that same parameter has the identical ID.
Definition: Parameter_Manager.h:1490
BOOL bool_Nonvolatile_Parameter_Restore_Error
Nonvolatile parameter restore error flag.
Definition: Parameter_Manager.h:1508
BOOL Media_Database_Write_Parameter(TParameter_Base *object_Parameter)
Definition: Parameter_Manager.cpp:2947
BOOL Unregister(TParameter_Base *object_Parameter)
Unregister parameter from the parameter database.
Definition: Parameter_Manager.cpp:2295
U32 Get_Media_Initialised_Parameter_Count()
Get count of parameters initialised with values from nonvolatile media.
Definition: Parameter_Manager.cpp:1510
U32 u32_Double_Parameter_ID
Double parameter ID.
Definition: Parameter_Manager.h:1493
U32 Get_Parameter_Count()
Get count of parameter managed by parameter manager.
Definition: Parameter_Manager.cpp:1310
VOID Init()
Parameter database manager initialisation method.
Definition: Parameter_Manager.cpp:124
VOID Clear_Parameter_Storage_Indexis()
Definition: Parameter_Manager.cpp:4556
U32 Get_Parameter_Storage_Overflow_Counter()
Get amount of parameter not fitted into nonvolatile storage.
Definition: Parameter_Manager.cpp:4163
VOID Done()
Parameter database manager finalisation method.
Definition: Parameter_Manager.cpp:917
BOOL Store_Nonvolatile_Parameter_Values()
Store noninitialised nonvolatile and quasinonvolatile parameter values into storage.
Definition: Parameter_Manager.cpp:4014
VOID Increment_Media_Write_Error_Count()
Definition: Parameter_Manager.cpp:2358
BOOL bool_Parameter_Storage_Full
Parameter storage full flag, shows that no empty record present for parameter registration.
Definition: Parameter_Manager.h:1499
VOID Media_Database_Update()
???.
Definition: Parameter_Manager.cpp:4188
TOS_Status_Structure struct_OS_Status
Container for OS status.
Definition: Parameter_Manager.h:1535
BOOL Media_Database_Write_Record(U32 u32_Record_Index, TParameter_Table_Record *struct_Record)
Definition: Parameter_Manager.cpp:2781
U32 Get_Default_Initialised_Parameter_Count()
Get count of parameters initialised with default values.
Definition: Parameter_Manager.cpp:1463
U32 u32_Parameter_Database_Hash
Parameter database hash value.
Definition: Parameter_Manager.h:1475
BOOL Get_Parameter_By_Name(C8 *c8_Parameter_Name, TParameter_Base **object_Parameter)
Get pointer to the parameter referenced by parameter name.
Definition: Parameter_Manager.cpp:1950
U64 u64_Virtual_Timestamp
Virtual time stamp.
Definition: Parameter_Manager.h:1481
VOID Send_Information(TProtocol_Base *object_Protocol)
Send information about parameter manager over communication link protocol.
Definition: Parameter_Manager.cpp:1706
TParameter_Base * object_Parameter_Storage[PARAMETER_STORAGE_SIZE]
Storage for parameter objects pointers.
Definition: Parameter_Manager.h:1472
BOOL Resolve_Parameter_Index_By_Name(U32 *u32_Parameter_Index, C8 *c8_Parameter_Name)
Resolve parameter storage index referenced by parameter name.
Definition: Parameter_Manager.cpp:2003
TGlobal_FSM_State enum_FSM_State
FSM state variable.
Definition: Parameter_Manager.h:1466
BOOL Get_Parameter_Index(U32 *u32_Parameter_Index, TParameter_Base *object_Parameter)
Get parameter index referenced by parameter object.
Definition: Parameter_Manager.cpp:1763
BOOL Media_Database_Read_Record(U32 u32_Record_Index, TParameter_Table_Record *struct_Record)
Definition: Parameter_Manager.cpp:2715
VOID Assign_Media(TSPI_Memory_Base *object_Media_Pointer)
Assign nonvolatile media storage to the parameter manager.
Definition: Parameter_Manager.cpp:928
VOID Show_Boot_Information(TProtocol_Base *object_Protocol)
Send boot information about parameter manager over communication link protocol.
Definition: Parameter_Manager.cpp:1569
U32 u32_First_Empty_Block_Index
First empty media block index.
Definition: Parameter_Manager.h:1541
BOOL Get_New_Parameter_Index(U32 *u32_Parameter_Storage_Index)
Get new parameter index.
Definition: Parameter_Manager.cpp:1723
BOOL Media_Database_Invalidate_Record(U32 u32_Record_Index)
Definition: Parameter_Manager.cpp:2530
VOID Assign_Protocol(TProtocol_Base *object_Protocol)
Assign communication protocol link to the parameter manager.
Definition: Parameter_Manager.cpp:1557
BOOL Get_Parameter_By_ID(U32 u32_ID, TParameter_Base **object_Parameter)
Get pointer to the parameter referenced by parameter identifier.
Definition: Parameter_Manager.cpp:1834
U32 Get_Parameter_Database_Hash()
Get parameter database hash value.
Definition: Parameter_Manager.cpp:1298
BOOL Is_Registered_By_ID(TParameter_Base *object_Parameter)
Check for parameter registered in parameter database.
Definition: Parameter_Manager.cpp:2056
TGlobal_FSM_State
FSM state definition.
Definition: Parameter_Manager.h:1374
@ enum_Media_Flush
Media flish state.
Definition: Parameter_Manager.h:1383
@ enum_Idle
Idle state.
Definition: Parameter_Manager.h:1377
@ enum_Operation
Regular operation state.
Definition: Parameter_Manager.h:1386
@ enum_Media_Init
Media initialisation state.
Definition: Parameter_Manager.h:1380
BOOL Update_Empty_Block_Address(U32 u32_Block_Count)
Definition: Parameter_Manager.cpp:4373
U32 u32_Media_Read_Error_Count
Parameter database media read error count.
Definition: Parameter_Manager.h:1523
U32 Get_Volatile_Parameter_Count()
Get count of volatile parameters managed by parameter manager.
Definition: Parameter_Manager.cpp:1322
U64 u64_Background_Loop_Counter
Background loop counter.
Definition: Parameter_Manager.h:1478
BOOL Invalidate_Nonvolatile_Parameter_Storage()
Definition: Parameter_Manager.cpp:2433
BOOL Is_Media_Database_Available()
Definition: Parameter_Manager.cpp:2470
BOOL Format_Nonvolatile_Parameter_Storage()
Initialisation of nonvolatile parameter storage method.
Definition: Parameter_Manager.cpp:2370
VOID Clear_Quasivolatile_Parameter_Values()
Clear quasi volatile parameter values.
Definition: Parameter_Manager.cpp:4105
BOOL Start_Operation()
This method set parameter database in operation mode.
Definition: Parameter_Manager.cpp:4212
TProtocol_Base * object_Protocol
Pointer to the communication protocol object.
Definition: Parameter_Manager.h:1532
U32 u32_Total_Media_Record_Count
Total record count.
Definition: Parameter_Manager.h:1544
BOOL Media_Database_Initialise_Record(U32 u32_Record_Index)
Definition: Parameter_Manager.cpp:2618
TParameter_Manager()
Class constructor method.
Definition: Parameter_Manager.cpp:88
BOOL Verify_Database()
Verify database method.
Definition: Parameter_Manager.cpp:1186
VOID Execute()
Background cyclic execution method.
Definition: Parameter_Manager.cpp:1008
U32 u32_Parameter_Count
Count of parameter registered in the parameter database.
Definition: Parameter_Manager.h:1484
U32 Get_Nonvolatile_Parameter_Count()
Get count of nonvolatile parameters managed by parameter manager.
Definition: Parameter_Manager.cpp:1369
BOOL Is_Registered(TParameter_Base *object_Parameter)
Check for parameter registered in parameter database.
Definition: Parameter_Manager.cpp:2127
U32 u32_Nonvolatile_Parameter_Recall_Success_Count
Nonvolatile parameter restore success count.
Definition: Parameter_Manager.h:1511
BOOL bool_Parameter_Initialisation_Error
Parameter initialisation error flag.
Definition: Parameter_Manager.h:1505
Definition: Protocol_Base.h:57
SPI memory base class.
Definition: SPI_Memory_Base.h:55
Parameter table record body.
Definition: Parameter_Manager.h:1353
TConOpSys_Variant_Data struct_Data
Parameter table record data value.
Definition: Parameter_Manager.h:1356
Parameter table record.
Definition: Parameter_Manager.h:1362
TParameter_Table_Record_Header struct_Header
Parameter table record header data.
Definition: Parameter_Manager.h:1365
TParameter_Table_Record_Body struct_Body
Parameter table record body data.
Definition: Parameter_Manager.h:1368
ConOpSys variant data storage structure.
Definition: ConOpSys_Variant.h:403
OS parameter status structure.
Definition: Defines.h:855
U32 u32_Raw_Data
Raw data representation.
Definition: Defines.h:858