ConOpSys V2970
P004.07
ANVILEX control operating system
|
Virtual communication link COM0 class. More...
#include <System_COM0.h>
Public Member Functions | |
VOID | Init () |
Virtual communication link COM0 initialisation method. More... | |
VOID | Done () |
Virtual communication link COM0 finalisation method. More... | |
virtual VOID | PIO_Init () |
PIO initialisation method. More... | |
virtual VOID | PIO_Done () |
PIO reinitialisation as GPIO method. More... | |
VOID | Emulation () |
Virtual communication link COM0 emulation method. More... | |
Public Member Functions inherited from TCommunication_Link | |
TCommunication_Link () | |
Class constructor method. More... | |
~TCommunication_Link () | |
Class destructor method. More... | |
VOID | Init () |
Initialisation method. More... | |
VOID | Done () |
Finalisation method. More... | |
VOID | Start () |
Start operation method. More... | |
VOID | Stop () |
Stop operation method. More... | |
VOID | Interrupt_Enable (U32 u32_Priority) |
Interrupt enabale method. More... | |
VOID | Interrupt_Disable () |
Interrupt disable method. More... | |
VOID | Interrupt () |
Data receive and data transmitted interrupt service method. More... | |
VOID | RX_Interrupt () |
Data receive interrupt service method. More... | |
VOID | TX_Interrupt () |
Data transmitted interrupt service method. More... | |
VOID | Log_Recieved_Byte_Count () |
Log recieved byte count. More... | |
VOID | Log_Empty_Data_Error () |
Log empty data error. No data received but interrupt was generated. More... | |
VOID | Log_Frame_Error () |
Log frame error. More... | |
VOID | Log_Overrun_Error () |
Log buffer overrun error. More... | |
VOID | Log_Parity_Error () |
Log parity error. More... | |
VOID | Log_Noise_Error () |
Log noise error. More... | |
U64 | Get_Empty_Data_Error_Count () |
Get rec empty data error count. More... | |
U64 | Get_Recieved_Byte_Count () |
Get recieved byte count. More... | |
U64 | Get_Frame_Error_Count () |
Get frame error count. More... | |
U64 | Get_Overrun_Error_Count () |
Get buffer overrun error count. More... | |
U64 | Get_Parity_Error_Count () |
Get parity error count. More... | |
U64 | Get_Noise_Error_Count () |
Get noise error count. More... | |
virtual VOID | Execute_1ms () |
1 ms cyclic execution method More... | |
virtual VOID | Execute () |
Background cyclic execution method. 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... | |
Protected Member Functions | |
virtual VOID | Communication_Data_Transmit (U8 u8_Transmit_Value) |
Communication data transmit method. More... | |
Protected Member Functions inherited from TCommunication_Link | |
virtual VOID | Set_Transmit_Mode () |
Set transmit mode method. More... | |
virtual VOID | Set_Receive_Mode () |
Set receive mode method. More... | |
Protected Member Functions inherited from TCommunication_Data_Link | |
virtual VOID | Communication_Data_Receive (U8 u8_Receive_Value) |
Communication data receive 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... | |
Private Attributes | |
U8 | u8_Emulation_Data_Buffer [256] |
Emulation data buffer. More... | |
U32 | u32_Emulation_Data_Index |
Emulation data index. More... | |
U32 | u32_Emulation_Data_Size |
Emulation data size. More... | |
Additional Inherited Members | |
Protected Attributes inherited from TCommunication_Link | |
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... | |
Virtual communication link COM0 class.
Communication data transmit method.
[in] | u8_Transmit_Value | - Value to transmit |
Reimplemented from TCommunication_Data_Link.
VOID TCOM0::Done | ( | ) |
Virtual communication link COM0 finalisation method.
VOID TCOM0::Emulation | ( | ) |
Virtual communication link COM0 emulation method.
References TCommunication_Data_Link::Communication_Data_Receive(), u32_Emulation_Data_Index, u32_Emulation_Data_Size, and u8_Emulation_Data_Buffer.
VOID TCOM0::Init | ( | ) |
Virtual communication link COM0 initialisation method.
References TCommunication_Link::Init(), u32_Emulation_Data_Index, u32_Emulation_Data_Size, and u8_Emulation_Data_Buffer.
|
virtual |
PIO reinitialisation as GPIO method.
Implements TCommunication_Link.
|
virtual |
PIO initialisation method.
Implements TCommunication_Link.
|
private |
Emulation data index.
Referenced by Emulation(), and Init().
|
private |
Emulation data size.
Referenced by Emulation(), and Init().
|
private |
Emulation data buffer.
Referenced by Emulation(), and Init().