ConOpSys V2970
P004.07
ANVILEX control operating system
|
Dummy communication protocol over UART class implementation. More...
#include <Protocol_PLUG_Over_UART.h>
Public Member Functions | |
TProtocol_PLUG_Over_UART () | |
Class constructor method. More... | |
~TProtocol_PLUG_Over_UART () | |
Class destructor method. More... | |
VOID | Init () |
Object initialisation method. More... | |
virtual VOID | Execute_1ms () |
PLUG protocol 1ms cyclic processing method. More... | |
virtual VOID | Execute () |
Protocol execution method. More... | |
virtual VOID | Send_Information (TProtocol_Base *object_Protocol) |
Method sends actual driver information over specified communication link protocol. More... | |
virtual VOID | Enter_Terminal_Mode () |
Enter in terminal operation mode method. More... | |
virtual VOID | Enter_Protocol_Mode () |
Enter in protocol operation mode method. More... | |
VOID | Show_System_Welcome_Message_Enable () |
Enable show system welcome message method. More... | |
VOID | Show_System_Welcome_Message_Disable () |
Disable show system welcome message method. More... | |
VOID | Show_System_Ready_Message_Enable () |
Enable system ready message method. More... | |
VOID | Show_System_Ready_Message_Disable () |
Disable system ready message method. More... | |
virtual BOOL | Is_Terminal_Mode () |
Return terminal operation mode status method. More... | |
virtual BOOL | Is_Protocol_Mode () |
Return protocol operatuin mode status method. More... | |
virtual VOID | Communication_Data_Receive (U8 u8_Receive_Value) |
Communication data receive method. More... | |
virtual VOID | Communication_Data_Receive (VOID *void_Receive_Data) |
Communication data receive method. More... | |
virtual VOID | Receive_String (C8 *c8_String) |
Receiveed string processing method. More... | |
virtual VOID | Receive_String (C8 *c8_String, U32 u32_Length) |
Receiveed string processing method. More... | |
VOID | Transmit_Boot_Welcome_Message () |
Transmit boot welcome message method. More... | |
VOID | Transmit_System_Ready_Message () |
Transmit boot ready message method. More... | |
Public Member Functions inherited from TProtocol_Base | |
TProtocol_Base () | |
Class constructor method. More... | |
~TProtocol_Base () | |
Class destructor method. More... | |
VOID | Init () |
Initialisation method. More... | |
VOID | Done () |
Finalisation method. More... | |
VOID | Clear_Communication_Statistic () |
Clear communication statistic. More... | |
VOID | Enable_Parameter_Mapping () |
Enable parameter mapping method. More... | |
VOID | Disable_Parameter_Mapping () |
Disable parameter mapping method. More... | |
VOID | Transmit_Char (C8 c8_Character) |
Receive character. More... | |
VOID | Transmit_String_Of_Char (C8 c8_Character, U32 u32_Count) |
VOID | Transmit_String_Of_Char (C8 c8_Character, U32 u32_Count, U32 u32_End_New_Line_Count) |
VOID | Transmit_String (C8 *c8_String) |
VOID | Transmit_String (U32 u32_Begin_New_Lines_Count, C8 *c8_String) |
VOID | Transmit_String (C8 *c8_String, U32 u32_End_New_Line_Count) |
VOID | Transmit_String (U32 u32_Begin_New_Lines_Count, C8 *c8_String, U32 u32_End_New_Line_Count) |
VOID | Transmit_New_Line () |
Transmit new line. More... | |
VOID | Transmit_New_Line (U32 u32_Count) |
Transmit new lines. More... | |
VOID | Transmit_Connector_Value_As_Boolean (TBlock_Input_Connector *object_Connector) |
VOID | Transmit_Connector_Value_As_Boolean (TBlock_Input_Connector *object_Connector, U32 u32_End_New_Line_Count) |
VOID | Transmit_Connector_Value_As_Decimal (TBlock_Input_Connector *object_Connector) |
VOID | Transmit_Connector_Value_As_Decimal (TBlock_Input_Connector *object_Connector, U32 u32_End_New_Line_Count) |
VOID | Transmit_Connector_Value_As_Hex (TBlock_Input_Connector *object_Connector) |
VOID | Transmit_Connector_Value_As_Hex (TBlock_Input_Connector *object_Connector, U32 u32_End_New_Line_Count) |
VOID | Transmit_Connector_Value_As_Boolean (TBlock_Output_Connector *object_Connector) |
VOID | Transmit_Connector_Value_As_Boolean (TBlock_Output_Connector *object_Connector, U32 u32_End_New_Line_Count) |
VOID | Transmit_Connector_Value_As_Decimal (TBlock_Output_Connector *object_Connector) |
VOID | Transmit_Connector_Value_As_Decimal (TBlock_Output_Connector *object_Connector, U32 u32_End_New_Line_Count) |
VOID | Transmit_Connector_Value_As_Hex (TBlock_Output_Connector *object_Connector) |
VOID | Transmit_Connector_Value_As_Hex (TBlock_Output_Connector *object_Connector, U32 u32_End_New_Line_Count) |
VOID | Transmit_Variant_As_Hex (TConOpSys_Variant *object_Value) |
VOID | Transmit_Variant_As_Hex (TConOpSys_Variant *object_Value, U32 u32_End_New_Line_Count) |
VOID | Transmit_BOOL_Value_As_Decimal (BOOL bool_Value) |
VOID | Transmit_BOOL_Value_As_Decimal (BOOL bool_Value, U32 u32_End_New_Line_Count) |
VOID | Transmit_BOOL_Value_As_Hex (BOOL bool_Value) |
VOID | Transmit_BOOL_Value_As_Hex (BOOL bool_Value, U32 u32_End_New_Line_Count) |
VOID | Transmit_TRIL_Value_As_Decimal (TRIL tril_Value) |
VOID | Transmit_TRIL_Value_As_Decimal (TRIL tril_Value, U32 u32_End_New_Line_Count) |
VOID | Transmit_U8_Value_As_Decimal (U8 u8_Value) |
VOID | Transmit_U8_Value_As_Decimal (U8 u8_Value, U32 u32_End_New_Line_Count) |
VOID | Transmit_U8_Value_As_Hex (U8 u8_Value) |
VOID | Transmit_U8_Value_As_Hex (U8 u8_Value, U32 u32_End_New_Line_Count) |
VOID | Transmit_U8_Buffer (U8 *u8_Data_Buffer, U32 u32_Length) |
VOID | Transmit_I8_Value_As_Decimal (I8 i8_Value) |
VOID | Transmit_I8_Value_As_Decimal (I8 i8_Value, U32 u32_End_New_Line_Count) |
VOID | Transmit_I8_Value_As_Hex (I8 i8_Value) |
VOID | Transmit_I8_Value_As_Hex (I8 i8_Value, U32 u32_End_New_Line_Count) |
VOID | Transmit_U16_Value_As_Decimal (U16 u16_Value) |
VOID | Transmit_U16_Value_As_Decimal (U16 u16_Value, U32 u32_End_New_Line_Count) |
VOID | Transmit_U16_Value_As_Hex (U16 u16_Value) |
VOID | Transmit_U16_Value_As_Hex (U16 u16_Value, U32 u32_End_New_Line_Count) |
VOID | Transmit_I16_Value_As_Decimal (I16 i16_Value) |
VOID | Transmit_I16_Value_As_Decimal (I16 i16_Value, U32 u32_End_New_Line_Count) |
VOID | Transmit_I16_Value_As_Hex (I16 i16_Value) |
VOID | Transmit_I16_Value_As_Hex (I16 i16_Value, U32 u32_End_New_Line_Count) |
VOID | Transmit_U32_Value_As_Decimal (U32 u32_Value) |
VOID | Transmit_U32_Value_As_Decimal (U32 u32_Value, U32 u32_End_New_Line_Count) |
VOID | Transmit_U32_Value_As_Hex (U32 u32_Value) |
VOID | Transmit_U32_Value_As_Hex (U32 u32_Value, U32 u32_End_New_Line_Count) |
VOID | Transmit_I32_Value_As_Decimal (I32 i32_Value) |
VOID | Transmit_I32_Value_As_Decimal (I32 i32_Value, U32 u32_End_New_Line_Count) |
VOID | Transmit_I32_Value_As_Hex (I32 i32_Value) |
VOID | Transmit_I32_Value_As_Hex (I32 i32_Value, U32 u32_End_New_Line_Count) |
VOID | Transmit_U64_Value_As_Decimal (U64 u64_Value) |
VOID | Transmit_U64_Value_As_Decimal (U64 u64_Value, U32 u32_End_New_Line_Count) |
VOID | Transmit_U64_Value_As_Hex (U64 u64_Value) |
VOID | Transmit_U64_Value_As_Hex (U64 u64_Value, U32 u32_End_New_Line_Count) |
VOID | Transmit_I64_Value_As_Decimal (I64 i64_Value) |
VOID | Transmit_I64_Value_As_Decimal (I64 i64_Value, U32 u32_End_New_Line_Count) |
VOID | Transmit_I64_Value_As_Hex (I64 i64_Value) |
VOID | Transmit_I64_Value_As_Hex (I64 i64_Value, U32 u32_End_New_Line_Count) |
VOID | Transmit_F32_Value_As_Decimal (F32 f32_Value) |
VOID | Transmit_F32_Value_As_Decimal (F32 f32_Value, U32 u32_End_New_Line_Count) |
VOID | Transmit_F32_Value_As_Hex (F32 f32_Value) |
VOID | Transmit_F32_Value_As_Hex (F32 f32_Value, U32 u32_End_New_Line_Count) |
VOID | Transmit_F64_Value_As_Decimal (F64 f64_Value) |
VOID | Transmit_F64_Value_As_Decimal (F64 f64_Value, U32 u32_End_New_Line_Count) |
VOID | Transmit_F64_Value_As_Hex (F64 f64_Value) |
VOID | Transmit_F64_Value_As_Hex (F64 f64_Value, U32 u32_End_New_Line_Count) |
VOID | Transmit_DateTime_Structure_Value_As_String (TDate_Time::TDate_Time_Structure struct_DateTime_Structure) |
VOID | Transmit_DateTime_Structure_Value_As_String (TDate_Time::TDate_Time_Structure struct_DateTime_Structure, U32 u32_End_New_Line_Count) |
VOID | Transmit_Buffer_As_U8_Dump (U32 u32_Address, U32 u32_Size, U8 *u8_Buffer, BOOL bool_Align) |
virtual BOOL | Set_Address (U8 u8_Address) |
Set node address. More... | |
VOID | Log_Bus_Message () |
Log message event for statistics purpouses. More... | |
VOID | Log_Bus_Communication_Error () |
Log communication error event for statistics purpouses. More... | |
VOID | Log_Bus_Character_Overrun () |
Log character overrun error event for statistics purpouses. More... | |
VOID | Log_Bus_Frame_Size_Error () |
Log frame size error event for statistics purpouses. More... | |
VOID | Log_Bus_CRC_Error () |
Log CRC error event for statistics purpouses. More... | |
VOID | Log_Slave_Exception_Error () |
Log slave exception error event for statistics purpouses. More... | |
VOID | Log_Slave_Message () |
Log slave messege event for statistics purpouses. More... | |
VOID | Log_Slave_Broadcast_Message () |
Log slave broadcast messege event for statistics purpouses. More... | |
VOID | Log_Slave_Unknown_Request_Error () |
Log slave unknown request event for statistics purpouses. More... | |
VOID | Log_Slave_No_Response () |
Log slave no responce event for statistics purpouses. More... | |
VOID | Log_Slave_No_Acknowledge () |
Log slave no acknowledge event for statistics purpouses. More... | |
VOID | Log_Slave_Busy () |
Log slave busy event for statistics purpouses. More... | |
VOID | Log_Parameter_Information_Request () |
Log parameter information request event for statistics purpouses. More... | |
VOID | Log_Parameter_Information_Request_Error () |
Log parameter information request error event for statistics purpouses. More... | |
VOID | Log_Parameter_Read_Request () |
Log parameter read event for statistics purpouses. More... | |
VOID | Log_Parameter_Read_Request_Error () |
Log parameter read error event for statistics purpouses. More... | |
VOID | Log_Parameter_Write_Request () |
Log parameter write event for statistics purpouses. More... | |
VOID | Log_Parameter_Write_Request_Error () |
Log parameter write error event for statistics purpouses. More... | |
VOID | Log_Event_Information_Request () |
Log system event information request event for statistics purpouses. More... | |
VOID | Log_Event_Information_Request_Error () |
Log system event information request error event for statistics purpouses. More... | |
Public Member Functions inherited from TCommunication_Data_Link | |
TCommunication_Data_Link () | |
Class constructor method. More... | |
VOID | Connect_Data_Link (TCommunication_Data_Link *object_New_Data_Link) |
Connect data link method. More... | |
VOID | Disconnect_Data_Link () |
Disconnect data link method. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from TProtocol_Base | |
VOID | New_Data_Arrived () |
Indicate new data for processing arrived. More... | |
VOID | New_Data_Processed () |
Indicate new data processed. More... | |
BOOL | Is_New_Data_Present () |
Return new data presentse status. More... | |
BOOL | Is_New_Data_Processed () |
Return new data processed status. More... | |
Protected Member Functions inherited from TCommunication_Data_Link | |
virtual VOID | Communication_Data_Transmit (U8 u8_Transmit_Value) |
Communication data transmit method. More... | |
virtual VOID | Communication_Block_Data_Receive (VOID *void_Receive_Data) |
Communication data receive method. More... | |
virtual VOID | Communication_Block_Data_Transmit (VOID *void_Receive_Data) |
Communication data transmit method. More... | |
Protected Attributes inherited from TProtocol_Base | |
BOOL | bool_Parameter_Mapping_Enable = (BOOL)false |
Parameter mapping enable flag. More... | |
U32 | u32_Bus_Message_Counter = (U32)0 |
Total communication bus message counter. More... | |
U32 | u32_Bus_Communication_Error_Counter = (U32)0 |
Communication bus error counter. More... | |
U32 | u32_Bus_Character_Overrun_Counter = (U32)0 |
Communication bus character overrun error counter. More... | |
U32 | u32_Bus_CRC_Error_Counter = (U32)0 |
Communication bus CRC error counter. More... | |
U32 | u32_Bus_Frame_Size_Error_Counter = (U32)0 |
Communication bus frame size error counter. More... | |
U32 | u32_Slave_Exception_Error_Counter = (U32)0 |
Slave exception error counter. More... | |
U32 | u32_Slave_Message_Counter = (U32)0 |
Total slave message counter. More... | |
U32 | u32_Slave_Broadcast_Message_Counter = (U32)0 |
Slave broadcast message counter. More... | |
U32 | u32_Slave_Unknown_Request_Counter = (U32)0 |
Slave unknown request counter. More... | |
U32 | u32_Slave_No_Response_Counter = (U32)0 |
Slave no responce counter. More... | |
U32 | u32_Slave_No_Acknowledge_Counter = (U32)0 |
Slave no acknowledge counter. More... | |
U32 | u32_Slave_Busy_Counter = (U32)0 |
Slave busy counter. More... | |
U32 | u32_Parameter_Information_Request_Counter = (U32)0 |
Parameter information request counter. More... | |
U32 | u32_Parameter_Information_Request_Error_Counter = (U32)0 |
Parameter information request error counter. More... | |
U32 | u32_Parameter_Read_Request_Counter = (U32)0 |
Parameter read request counter. More... | |
U32 | u32_Parameter_Read_Request_Error_Counter = (U32)0 |
Parameter read request error counter. More... | |
U32 | u32_Parameter_Write_Request_Counter = (U32)0 |
Parameter write request counter. More... | |
U32 | u32_Parameter_Write_Request_Error_Counter = (U32)0 |
Parameter write request error counter. More... | |
U32 | u32_Event_Information_Request_Counter = (U32)0 |
Event information request counter. More... | |
U32 | u32_Event_Information_Request_Error_Counter = (U32)0 |
Event information request error counter. More... | |
TExecution_Profile | object_Execution_Profile |
Execution profile object. More... | |
Protected Attributes inherited from TCommunication_Data_Link | |
TCommunication_Data_Link * | object_Data_Link = (TCommunication_Data_Link*)NULL |
Pointer to the data link object. More... | |
Dummy communication protocol over UART class implementation.
TProtocol_PLUG_Over_UART::TProtocol_PLUG_Over_UART | ( | ) |
Class constructor method.
TProtocol_PLUG_Over_UART::~TProtocol_PLUG_Over_UART | ( | ) |
Class destructor method.
Communication data receive method.
[in] | u8_Receive_Value | - Received value |
Reimplemented from TCommunication_Data_Link.
Communication data receive method.
[in] | void_Receive_Data | - Pointer on received data |
|
virtual |
Enter in protocol operation mode method.
Implements TProtocol_Base.
|
virtual |
Enter in terminal operation mode method.
Implements TProtocol_Base.
|
virtual |
Protocol execution method.
Reimplemented from TProtocol_Base.
|
virtual |
PLUG protocol 1ms cyclic processing method.
Reimplemented from TProtocol_Base.
VOID TProtocol_PLUG_Over_UART::Init | ( | ) |
Object initialisation method.
References TProtocol_Base::Init().
Referenced by TApplication_Base::Init(), and TBootloader_Base::Init().
|
virtual |
Return protocol operatuin mode status method.
false | - Non-protocol mode selected |
true | - Protocol mode selected |
Implements TProtocol_Base.
|
virtual |
Return terminal operation mode status method.
false | - Non-terminal mode selected |
true | - Terminal mode selected |
Implements TProtocol_Base.
Receiveed string processing method.
[in] | *c8_String | - Pointer to the null terminated string |
Implements TProtocol_Base.
Receiveed string processing method.
[in] | *c8_String | - Pointer to the null terminated string |
[in] | u32_Length | - Length of the string |
Implements TProtocol_Base.
|
virtual |
Method sends actual driver information over specified communication link protocol.
[in] | *object_Protocol | - Pointer to the connunication link protocol |
Implements TProtocol_Base.
References TProtocol_Base::Transmit_String().
Referenced by TCommand_COM0::Execute().
|
virtual |
Disable system ready message method.
Implements TProtocol_Base.
|
virtual |
Enable system ready message method.
Implements TProtocol_Base.
|
virtual |
Disable show system welcome message method.
Implements TProtocol_Base.
|
virtual |
Enable show system welcome message method.
Implements TProtocol_Base.
|
virtual |
Transmit boot welcome message method.
Implements TProtocol_Base.
|
virtual |
Transmit boot ready message method.
Implements TProtocol_Base.