ConOpSys V2970
P004.07
ANVILEX control operating system
|
Event manager class. More...
#include <Event_Manager.h>
Classes | |
struct | TEvent_Buffer |
Event buffer structure definition. More... | |
Public Member Functions | |
VOID | Init () |
Event manager initialisation method. More... | |
VOID | Done () |
Event manager finalisation method. More... | |
VOID | Execute () |
Event manager background execution method. More... | |
BOOL | Assign_Memory (TS25FL512 *object_Memory_Pointer) |
Memory type assignment method. More... | |
VOID | Verify_Database () |
Verify database method. More... | |
BOOL | Format_Event_Storage () |
Erasing flash memory. More... | |
VOID | Create (U32 u32_Event_ID) |
Method for creating event with determine event index. More... | |
VOID | Create (const TEvent_Descriptor &struct_Event_Descriptor) |
Method for creating event by given event descriptor. More... | |
VOID | Create_Header_Event (TEvent_Manager_Base::TEvent_Header_Record **struct_Event_Record) |
Method for creating event header. More... | |
VOID | Create_Data_Event (U64 u64_Relative_Event_Index, TEvent_Manager_Base::TEvent_Payload_Record **struct_Event_Record) |
Method for creating event header. More... | |
U32 | Get_Database_Hash () |
Method get event database descriptor hash. More... | |
U32 | Get_Database_Record_Count () |
Method get event database descriptor hash. More... | |
U32 | Get_Event_Buffer_Size () |
Method get event buffer size. More... | |
U32 | Get_Event_Record_Size () |
Method get event buffer size. More... | |
U32 | Get_Current_Buffer_Index () |
Method get current buffer index. More... | |
BOOL | Get_Event_Record_By_Index (U64 u64_Event_Index, TEvent_Manager_Base::TEvent_Generic_Record **struct_Event_Record) |
Method search event record by event index. More... | |
U64 | Get_First_Event_Index () |
Method get index of the first event record. More... | |
U64 | Get_Last_Event_Index () |
Method get index of the last event record. More... | |
U64 | Get_Selected_Event_Index () |
Method get index of the currently selected event. More... | |
BOOL | Set_Selected_Event_Index (U64 u64_Selected_Event_New_Index) |
Method set index of the currently selected even. More... | |
BOOL | Get_Selected_Event (TEvent_Manager_Base::TEvent_Generic_Record **struct_Event_Record) |
Method get selected event. More... | |
VOID | Show_Boot_Information (TProtocol_Base *object_Protocol) |
Method show boot information message method. More... | |
VOID | Send_Information (TProtocol_Base *object_Protocol) |
Method send diagnostic information about event manager. More... | |
VOID | Send_Event_Description (TProtocol_Base *object_Protocol, U32 enum_Event_ID) |
Method send event desctiption over protocol. More... | |
BOOL | Get_Event_Description_By_Event_ID (U32 u32_Event_ID, C8 **c8_Event_Description) |
Method get pointer to event description by given event ID. More... | |
U32 | Get_OS_Status () |
This method return OS status. More... | |
BOOL | Start_Operation () |
This method set module in operation mode. More... | |
Private Types | |
enum | TData_Flush_FSM { enum_Idle , enum_Flush_Buffer , enum_Search_Good_Block , enum_Empty_Block_Test , enum_Erase_Block } |
Event data flush FSM state definition. More... | |
Private Member Functions | |
BOOL | Verify_Event_Descriptor_Database () |
Verify event desriptor database method. More... | |
U32 | Get_Database_Size_In_Bytes () |
Get event database size in bytes method. More... | |
U32 | Calculate_Database_Hash () |
Calculate event descriptor database hash description. More... | |
VOID | Increment_Buffer_Index () |
Increment event buffer method. More... | |
U32 | Get_Previous_Buffer_Index (U32 u32_Buffer_Index) |
Get previous buffer index. More... | |
BOOL | Half_Devision_Method_Searching (U64 u64_Event_Index, TEvent_Manager_Base::TEvent_Generic_Record **struct_Event_Record) |
Half division method event searching. More... | |
BOOL | Get_Min_Max_Flash_Index () |
Search first and last event index in flash. More... | |
Private Attributes | |
TS25FL512 * | object_SPI_Memory = (TS25FL512*)NULL |
Pointer to event memory object. More... | |
TEvent_Buffer | struct_Event_Buffer [EVENT_MANAGER_BUFFERS_COUNT] |
Event buffers. More... | |
U32 | u32_Last_Flushed_Buffer_Index = (U32)0 |
Last flushed buffer index. More... | |
U64 | u64_Last_Flushed_Event_Index = (U64)0 |
Last global event index detected in the Flash. More... | |
U32 | u32_Database_Hash = (U32)0x00000000 |
Event manager database derscriptor hash. More... | |
TData_Flush_FSM | enum_Data_Flush_FSM_State = enum_Idle |
Event data flish FSM state variable. More... | |
U16 | u16_Storage_Block_Index = (U16)0 |
Storage block index variable, used to store actual block index by data flush FSM. More... | |
U16 | u16_Page_Index_With_Max_Event_Index = (U16)0 |
Storage page index variable, used to store actual page index by data flush FSM. More... | |
U16 | u16_Page_Index_With_Min_Event_Index = (U16)0 |
Storage page index with manimal event index in flash. More... | |
U16 | u16_Offset_For_Max_Event_Index = (U16)0 |
Storage page index with maximal event index in flash. More... | |
U32 | u32_Current_Buffer_Index = (U32)0 |
Storage Current buffer index. More... | |
U32 | u32_Current_Number_Buffer_Index = (U32)0 |
Storage current number of buffer index. More... | |
U64 | u64_First_Global_Event_Index = (U64)0 |
First global event index detected in the system. More... | |
U64 | u64_Last_Global_Event_Index = (U64)0 |
Last global event index detected in the system. More... | |
U64 | u64_Current_Global_Event_Index = (U64)0 |
Current global event index detected in the system. More... | |
U64 | u64_Selected_Event_Index = (U64)0 |
Actual selected event index. More... | |
TEvent_Manager_Base::TEvent_Generic_Record | struct_Selected_Event_Record |
Current event record. Store current event data for VDC tool functionality. More... | |
BOOL | bool_Selected_Event_Valid = (BOOL)false |
Selected event validity flag. More... | |
TEvent_Manager_Base::TEvent_Generic_Record | struct_Flash_Event_Record |
Flash data record storage. More... | |
U64 | u64_Current_Program_Page_Address = (U64)0 |
Current address for programing. More... | |
U64 | u64_Current_Event_Index_In_Flash = (U64)0 |
Last event index in flash memory. More... | |
TEvent_Descriptor * | struct_Event_Descriptors_List = (TEvent_Descriptor*)NULL |
Event descriptors list storage mapped directly to the section. More... | |
TOS_Status_Structure | struct_OS_Status |
Container for OS status. More... | |
U32 | u32_Duplicated_Event_Descriptor_Record_Counter = (U32)0 |
Duplicated event descriptor record counter. More... | |
U32 | u32_Requested_Event_Counter = (U32)0 |
Counter for requested events. More... | |
U32 | u32_Dropped_Event_Counter = (U32)0 |
Counter of dropped events caused by buffer overflow. More... | |
Event manager class.
|
private |
Memory type assignment method.
[in] | *object_Memory_Pointer | - Pointer to object of memory class |
References NULL, and object_SPI_Memory.
|
private |
Calculate event descriptor database hash description.
References Get_Database_Record_Count(), String_Length(), struct_Event_Descriptors_List, TEvent_Descriptor::u8_Raw_Data, and TCRC_32::Update().
Referenced by Init().
VOID TEvent_Manager::Create | ( | const TEvent_Descriptor & | struct_Event_Descriptor | ) |
Method for creating event by given event descriptor.
[in] | &struct_Event_Descriptor | - Event descriptor |
References Create(), TEvent_Descriptor::struct_Properties, and TEvent_Descriptor::u32_Event_ID.
Method for creating event with determine event index.
[in] | u32_Event_ID | - Event index |
References TEvent_Manager_Base::TEvent_Generic_Record::Event_Header, TSystem_Timer_Base::Get_Actual_Time(), TRTC_STM32F429::Get_DateTime(), Increment_Buffer_Index(), Increment_Saturated(), object_System_RTC, object_System_Timer, TEvent_Manager_Base::TEvent_Header_Record::struct_Absolute_Timestamp, TEvent_Manager::TEvent_Buffer::struct_Buffer, struct_Event_Buffer, TEvent_Manager_Base::TEvent_Header_Record::u32_CRC, u32_Current_Buffer_Index, u32_Current_Number_Buffer_Index, u32_Dropped_Event_Counter, TEvent_Manager_Base::TEvent_Header_Record::u32_Event_ID, u32_Requested_Event_Counter, TEvent_Manager_Base::TEvent_Header_Record::u64_Global_Event_Index, u64_Last_Global_Event_Index, TEvent_Manager_Base::TEvent_Header_Record::u64_Relative_Timestamp, and TEvent_Manager_Base::TEvent_Header_Record::u64_Task_Iteration.
Referenced by Create().
VOID TEvent_Manager::Create_Data_Event | ( | U64 | u64_Relative_Event_Index, |
TEvent_Manager_Base::TEvent_Payload_Record ** | struct_Event_Record | ||
) |
Method for creating event header.
[in] | u64_Relative_Event_Index | - Relative event index |
[out] | **struct_Event_Record | - Pointer to getting event |
References TEvent_Manager_Base::TEvent_Generic_Record::Event_Data, TRTC_STM32F429::Get_DateTime(), Increment_Buffer_Index(), Increment_Saturated(), object_System_RTC, TEvent_Manager::TEvent_Buffer::struct_Buffer, struct_Event_Buffer, u32_Current_Buffer_Index, u32_Current_Number_Buffer_Index, TEvent_Manager_Base::TEvent_Payload_Record::u64_Global_Event_Index, u64_Last_Global_Event_Index, and TEvent_Manager_Base::TEvent_Payload_Record::u64_Relative_Event_Index.
VOID TEvent_Manager::Create_Header_Event | ( | TEvent_Manager_Base::TEvent_Header_Record ** | struct_Event_Record | ) |
Method for creating event header.
[out] | **struct_Event_Record | - Pointer to getting event |
References TEvent_Manager_Base::TEvent_Generic_Record::Event_Header, TSystem_Timer_Base::Get_Actual_Time(), TRTC_STM32F429::Get_DateTime(), Increment_Buffer_Index(), Increment_Saturated(), object_System_RTC, object_System_Timer, TEvent_Manager_Base::TEvent_Header_Record::struct_Absolute_Timestamp, TEvent_Manager::TEvent_Buffer::struct_Buffer, struct_Event_Buffer, u32_Current_Buffer_Index, u32_Current_Number_Buffer_Index, TEvent_Manager_Base::TEvent_Header_Record::u64_Global_Event_Index, u64_Last_Global_Event_Index, TEvent_Manager_Base::TEvent_Header_Record::u64_Relative_Timestamp, and TEvent_Manager_Base::TEvent_Header_Record::u64_Task_Iteration.
VOID TEvent_Manager::Done | ( | ) |
Event manager finalisation method.
VOID TEvent_Manager::Execute | ( | ) |
Event manager background execution method.
References TEvent_Manager::TEvent_Buffer::bool_Flush_Request, enum_Data_Flush_FSM_State, enum_Empty_Block_Test, enum_Erase_Block, enum_Flush_Buffer, enum_Idle, enum_Search_Good_Block, TS25FL512::Erase_Block_By_Index(), EVENT_MANAGER_BUFFERS_COUNT, TS25FL512::Execute(), false, TS25FL512::Get_Bad_Block_Status(), TSPI_Memory_Base::Get_Block_Count(), TSPI_Memory_Base::Get_Page_Address(), TSPI_Memory_Base::Get_Page_Size(), TSPI_Memory_Base::Get_Pages_Per_Block_Count(), TSPI_Memory_Base::Get_Pages_Per_Chip_Count(), Increment_Overflowed(), TS25FL512::Is_Block_Empty(), NULL, object_SPI_Memory, TEvent_Manager::TEvent_Buffer::struct_Buffer, struct_Event_Buffer, true, u16_Page_Index_With_Max_Event_Index, u16_Storage_Block_Index, u32_Last_Flushed_Buffer_Index, and TS25FL512::Write_Buffer_By_Page_Index().
BOOL TEvent_Manager::Format_Event_Storage | ( | ) |
Erasing flash memory.
false | - Erasing failed |
true | - Erasing successfully done |
References TS25FL512::Erase_Chip(), false, NULL, and object_SPI_Memory.
U32 TEvent_Manager::Get_Current_Buffer_Index | ( | ) |
Method get current buffer index.
References u32_Current_Buffer_Index.
U32 TEvent_Manager::Get_Database_Hash | ( | ) |
Method get event database descriptor hash.
References u32_Database_Hash.
U32 TEvent_Manager::Get_Database_Record_Count | ( | ) |
Method get event database descriptor hash.
References Get_Database_Size_In_Bytes().
Referenced by Calculate_Database_Hash(), Get_Event_Description_By_Event_ID(), Send_Event_Description(), Send_Information(), Show_Boot_Information(), and Verify_Event_Descriptor_Database().
|
private |
Get event database size in bytes method.
References Event_Descriptor_Database_End_Pointer, and Event_Descriptor_Database_Start_Pointer.
Referenced by Get_Database_Record_Count(), and Send_Information().
U32 TEvent_Manager::Get_Event_Buffer_Size | ( | ) |
Method get event buffer size.
References EVENT_MANAGER_BUFFER_SIZE.
Referenced by Send_Information().
BOOL TEvent_Manager::Get_Event_Description_By_Event_ID | ( | U32 | u32_Event_ID, |
C8 ** | c8_Event_Description | ||
) |
Method get pointer to event description by given event ID.
[in] | u32_Event_ID | - Event index |
[out] | **c8_Event_Description | - Pointer to event description |
false | - Operation falled |
true | - Operation successfully done |
References Get_Database_Record_Count(), TEvent_Description_Descriptor::pc8_Description_Text, TEvent_Descriptor::struct_Description, struct_Event_Descriptors_List, and TEvent_Descriptor::u32_Event_ID.
BOOL TEvent_Manager::Get_Event_Record_By_Index | ( | U64 | u64_Event_Index, |
TEvent_Manager_Base::TEvent_Generic_Record ** | struct_Event_Record | ||
) |
Method search event record by event index.
[in] | u64_Event_Index | - Event index |
[out] | **struct_Event_Record | - Pointer to event |
false | - Searching failed |
true | - Searching successfully done |
References EVENT_MANAGER_BUFFER_SIZE, EVENT_MANAGER_BUFFERS_COUNT, false, Half_Devision_Method_Searching(), Is_In_Range_Less_Greater(), TEvent_Manager::TEvent_Buffer::struct_Buffer, struct_Event_Buffer, u64_First_Global_Event_Index, and u64_Last_Global_Event_Index.
Referenced by Send_Information(), and Set_Selected_Event_Index().
U32 TEvent_Manager::Get_Event_Record_Size | ( | ) |
Method get event buffer size.
Referenced by Send_Information().
U64 TEvent_Manager::Get_First_Event_Index | ( | ) |
Method get index of the first event record.
References u64_First_Global_Event_Index.
U64 TEvent_Manager::Get_Last_Event_Index | ( | ) |
Method get index of the last event record.
References u64_Last_Global_Event_Index.
Referenced by Send_Information().
|
private |
Search first and last event index in flash.
false | - Searching failed |
true | - Params successfully determined |
References TEvent_Manager_Base::TEvent_Generic_Record::Event_Header, false, TS25FL512::Get_Bad_Block_Status(), TSPI_Memory_Base::Get_Block_Count(), TSPI_Memory_Base::Get_Page_Index(), TSPI_Memory_Base::Get_Page_Size(), TSPI_Memory_Base::Get_Pages_Per_Block_Count(), GLOBAL_INDEX_BYTES_NUMBER, object_SPI_Memory, TS25FL512::Read_Buffer_By_Page_Index(), RECORD_SIZE, true, u16_Offset_For_Max_Event_Index, u16_Page_Index_With_Max_Event_Index, u16_Page_Index_With_Min_Event_Index, u16_Storage_Block_Index, u64_First_Global_Event_Index, TEvent_Manager_Base::TEvent_Header_Record::u64_Global_Event_Index, u64_Last_Global_Event_Index, and TEvent_Manager_Base::TEvent_Generic_Record::u8_Raw_Data.
Referenced by Verify_Database().
U32 TEvent_Manager::Get_OS_Status | ( | ) |
This method return OS status.
References struct_OS_Status, and TOS_Status_Structure::u32_Raw_Data.
Get previous buffer index.
[in] | u32_Buffer_Index | - Buffer index |
References EVENT_MANAGER_BUFFER_SIZE.
BOOL TEvent_Manager::Get_Selected_Event | ( | TEvent_Manager_Base::TEvent_Generic_Record ** | struct_Event_Record | ) |
Method get selected event.
[out] | **struct_Event_Record | - Pointer to event |
false | - Event not getting |
true | - Event successfully getting |
References bool_Selected_Event_Valid, false, NULL, and struct_Selected_Event_Record.
U64 TEvent_Manager::Get_Selected_Event_Index | ( | ) |
Method get index of the currently selected event.
References u64_Selected_Event_Index.
|
private |
Half division method event searching.
[in] | u64_Event_Index | - Index of the event to search |
[out] | **struct_Event_Record | - Pointer to returned event record |
false | - Searching for event record failed |
true | - Event record successfully getted |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
References TEvent_Manager_Base::TEvent_Generic_Record::Event_Header, EVENT_MANAGER_BUFFER_SIZE, TS25FL512::Get_Bad_Block_Status(), TSPI_Memory_Base::Get_Block_Index_By_Page(), object_SPI_Memory, TS25FL512::Read_Buffer_By_Page_Index(), true, u16_Offset_For_Max_Event_Index, u16_Page_Index_With_Max_Event_Index, u16_Page_Index_With_Min_Event_Index, TEvent_Manager_Base::TEvent_Header_Record::u64_Global_Event_Index, and TEvent_Manager_Base::TEvent_Generic_Record::u8_Raw_Data.
Referenced by Get_Event_Record_By_Index().
|
private |
Increment event buffer method.
References TEvent_Manager::TEvent_Buffer::bool_Flush_Request, EVENT_MANAGER_BUFFER_SIZE, EVENT_MANAGER_BUFFERS_COUNT, Increment_Overflowed(), struct_Event_Buffer, u32_Current_Buffer_Index, and u32_Current_Number_Buffer_Index.
Referenced by Create(), Create_Data_Event(), and Create_Header_Event().
VOID TEvent_Manager::Init | ( | ) |
Event manager initialisation method.
References TOS_Status_Structure::Bits, TEvent_Manager::TEvent_Buffer::bool_Flush_Request, Calculate_Database_Hash(), Event_Descriptor_Database_Start_Pointer, TEvent_Manager_Base::TEvent_Generic_Record::Event_Header, EVENT_MANAGER_BUFFER_SIZE, EVENT_MANAGER_BUFFERS_COUNT, TEvent_Manager_Base::TEvent_Header_Record::struct_Absolute_Timestamp, TEvent_Manager::TEvent_Buffer::struct_Buffer, struct_Event_Buffer, struct_Event_Descriptors_List, struct_OS_Status, struct_Selected_Event_Record, TDate_Time::TDate_Time_Structure::u16_Day, TDate_Time::TDate_Time_Structure::u16_Flags, TDate_Time::TDate_Time_Structure::u16_Hour, TDate_Time::TDate_Time_Structure::u16_Milisecond, TDate_Time::TDate_Time_Structure::u16_Minute, TDate_Time::TDate_Time_Structure::u16_Month, TDate_Time::TDate_Time_Structure::u16_Second, TDate_Time::TDate_Time_Structure::u16_Year, u32_Database_Hash, TEvent_Manager_Base::TEvent_Header_Record::u32_Event_ID, TOS_Status_Structure::u32_Init, TOS_Status_Structure::u32_Raw_Data, TEvent_Manager_Base::TEvent_Header_Record::u64_Global_Event_Index, TEvent_Manager_Base::TEvent_Header_Record::u64_Relative_Timestamp, TEvent_Manager_Base::TEvent_Header_Record::u64_Task_Iteration, TEvent_Manager_Base::TEvent_Generic_Record::u8_Raw_Data, and Verify_Event_Descriptor_Database().
VOID TEvent_Manager::Send_Event_Description | ( | TProtocol_Base * | object_Protocol, |
U32 | enum_Event_ID | ||
) |
Method send event desctiption over protocol.
[in] | *object_Protocol | - Pointer to communication protocol |
[in] | enum_Event_ID | - Event index |
References false, Get_Database_Record_Count(), struct_Event_Descriptors_List, TProtocol_Base::Transmit_String(), and TEvent_Descriptor::u32_Event_ID.
Referenced by Send_Information().
VOID TEvent_Manager::Send_Information | ( | TProtocol_Base * | object_Protocol | ) |
Method send diagnostic information about event manager.
[in] | *object_Protocol | - Pointer to communication protocol |
References Event_Descriptor_Database_End_Pointer, Event_Descriptor_Database_Start_Pointer, TEvent_Manager_Base::TEvent_Generic_Record::Event_Header, EVENT_MANAGER_BUFFER_SIZE, EVENT_MANAGER_BUFFERS_COUNT, Get_Database_Record_Count(), Get_Database_Size_In_Bytes(), Get_Event_Buffer_Size(), Get_Event_Record_By_Index(), Get_Event_Record_Size(), Get_Last_Event_Index(), NULL, Send_Event_Description(), TProtocol_Base::Transmit_New_Line(), TProtocol_Base::Transmit_String(), TProtocol_Base::Transmit_U16_Value_As_Decimal(), TProtocol_Base::Transmit_U32_Value_As_Decimal(), TProtocol_Base::Transmit_U32_Value_As_Hex(), TProtocol_Base::Transmit_U64_Value_As_Decimal(), TProtocol_Base::Transmit_U64_Value_As_Hex(), u16_Page_Index_With_Max_Event_Index, u16_Storage_Block_Index, u32_Current_Buffer_Index, u32_Current_Number_Buffer_Index, u32_Database_Hash, u32_Dropped_Event_Counter, u32_Duplicated_Event_Descriptor_Record_Counter, TEvent_Manager_Base::TEvent_Header_Record::u32_Event_ID, u32_Requested_Event_Counter, u64_First_Global_Event_Index, TEvent_Manager_Base::TEvent_Header_Record::u64_Global_Event_Index, u64_Last_Global_Event_Index, TEvent_Manager_Base::TEvent_Header_Record::u64_Relative_Timestamp, and u64_Selected_Event_Index.
Method set index of the currently selected even.
false | - Index dont set |
true | - Index set successfully |
References bool_Selected_Event_Valid, Get_Event_Record_By_Index(), Is_In_Range_Less_Greater(), NULL, struct_Selected_Event_Record, u64_First_Global_Event_Index, u64_Last_Global_Event_Index, and u64_Selected_Event_Index.
VOID TEvent_Manager::Show_Boot_Information | ( | TProtocol_Base * | object_Protocol | ) |
Method show boot information message method.
[in] | *object_Protocol | - Pointer to communication protocol |
References Get_Database_Record_Count(), TProtocol_Base::Transmit_String(), TProtocol_Base::Transmit_String_Of_Char(), TProtocol_Base::Transmit_U32_Value_As_Decimal(), TProtocol_Base::Transmit_U32_Value_As_Hex(), TProtocol_Base::Transmit_U64_Value_As_Decimal(), u32_Database_Hash, u64_First_Global_Event_Index, and u64_Last_Global_Event_Index.
BOOL TEvent_Manager::Start_Operation | ( | ) |
This method set module in operation mode.
false | - Module in error mode |
true | - Module ready to operations |
References TOS_Status_Structure::Bits, struct_OS_Status, TOS_Status_Structure::u32_Alarm, TOS_Status_Structure::u32_Error, TOS_Status_Structure::u32_Init, and TOS_Status_Structure::u32_Ready.
VOID TEvent_Manager::Verify_Database | ( | ) |
Verify database method.
References Get_Min_Max_Flash_Index(), NULL, and object_SPI_Memory.
|
private |
Verify event desriptor database method.
false | - Verification failed due one or multiple errors |
true | - Verification successed |
References Get_Database_Record_Count(), Increment_Saturated(), struct_Event_Descriptors_List, TEvent_Descriptor::struct_Properties, u32_Duplicated_Event_Descriptor_Record_Counter, and TEvent_Descriptor::u32_Event_ID.
Referenced by Init().
Selected event validity flag.
Referenced by Get_Selected_Event(), and Set_Selected_Event_Index().
|
private |
Event data flish FSM state variable.
Referenced by Execute().
Pointer to event memory object.
Referenced by Assign_Memory(), Execute(), Format_Event_Storage(), Get_Min_Max_Flash_Index(), Half_Devision_Method_Searching(), and Verify_Database().
|
private |
Event buffers.
Referenced by Create(), Create_Data_Event(), Create_Header_Event(), Execute(), Get_Event_Record_By_Index(), Increment_Buffer_Index(), and Init().
|
private |
Event descriptors list storage mapped directly to the section.
Referenced by Calculate_Database_Hash(), Get_Event_Description_By_Event_ID(), Init(), Send_Event_Description(), and Verify_Event_Descriptor_Database().
|
private |
Flash data record storage.
|
private |
Container for OS status.
Referenced by Get_OS_Status(), Init(), and Start_Operation().
|
private |
Current event record. Store current event data for VDC tool functionality.
Referenced by Get_Selected_Event(), Init(), and Set_Selected_Event_Index().
Storage page index with maximal event index in flash.
Referenced by Get_Min_Max_Flash_Index(), and Half_Devision_Method_Searching().
Storage page index variable, used to store actual page index by data flush FSM.
Referenced by Execute(), Get_Min_Max_Flash_Index(), Half_Devision_Method_Searching(), and Send_Information().
Storage page index with manimal event index in flash.
Referenced by Get_Min_Max_Flash_Index(), and Half_Devision_Method_Searching().
Storage block index variable, used to store actual block index by data flush FSM.
Referenced by Execute(), Get_Min_Max_Flash_Index(), and Send_Information().
Storage Current buffer index.
Referenced by Create(), Create_Data_Event(), Create_Header_Event(), Get_Current_Buffer_Index(), Increment_Buffer_Index(), and Send_Information().
Storage current number of buffer index.
Referenced by Create(), Create_Data_Event(), Create_Header_Event(), Increment_Buffer_Index(), and Send_Information().
Event manager database derscriptor hash.
Referenced by Get_Database_Hash(), Init(), Send_Information(), and Show_Boot_Information().
Counter of dropped events caused by buffer overflow.
Referenced by Create(), and Send_Information().
Duplicated event descriptor record counter.
Referenced by Send_Information(), and Verify_Event_Descriptor_Database().
Last flushed buffer index.
Referenced by Execute().
Counter for requested events.
Referenced by Create(), and Send_Information().
Last event index in flash memory.
Current global event index detected in the system.
Current address for programing.
First global event index detected in the system.
Referenced by Get_Event_Record_By_Index(), Get_First_Event_Index(), Get_Min_Max_Flash_Index(), Send_Information(), Set_Selected_Event_Index(), and Show_Boot_Information().
Last global event index detected in the Flash.
Last global event index detected in the system.
Referenced by Create(), Create_Data_Event(), Create_Header_Event(), Get_Event_Record_By_Index(), Get_Last_Event_Index(), Get_Min_Max_Flash_Index(), Send_Information(), Set_Selected_Event_Index(), and Show_Boot_Information().
Actual selected event index.
Referenced by Get_Selected_Event_Index(), Send_Information(), and Set_Selected_Event_Index().