ConOpSys V2970  P004.07
ANVILEX control operating system
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
TCommunication_Data_Link Class Reference

Communication data link class. More...

#include <Communication_Data_Link.h>

Inheritance diagram for TCommunication_Data_Link:
Inheritance graph
Collaboration diagram for TCommunication_Data_Link:
Collaboration graph

Public Member Functions

 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...
 
virtual VOID Execute_1ms ()
 1 ms cyclic execution method More...
 
virtual VOID Execute ()
 Background cyclic execution method. More...
 

Protected Member Functions

virtual VOID Communication_Data_Transmit (U8 u8_Transmit_Value)
 Communication data transmit method. More...
 
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...
 

Protected Attributes

TCommunication_Data_Linkobject_Data_Link = (TCommunication_Data_Link*)NULL
 Pointer to the data link object. More...
 

Detailed Description

Communication data link class.

This class implements interlink capability between physical and protocol communication layers.

Constructor & Destructor Documentation

◆ TCommunication_Data_Link()

TCommunication_Data_Link::TCommunication_Data_Link ( )

Class constructor method.


Note
None
Override
Not allowed
Attention
Don't call this method directly.

Member Function Documentation

◆ Communication_Block_Data_Receive()

VOID TCommunication_Data_Link::Communication_Block_Data_Receive ( VOID void_Receive_Data)
protectedvirtual

Communication data receive method.


Note
None
Parameters
[in]void_Receive_Data- Pointer to received data block
Returns
None
Override
Requered
Attention
None

Reimplemented in TProtocol_CANopen_Slave_Over_CAN.

References Communication_Block_Data_Receive(), NULL, and object_Data_Link.

Referenced by Communication_Block_Data_Receive(), TCAN1_STM32F429::RX0_Interrupt(), and TCAN2_STM32F429::RX0_Interrupt().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Communication_Block_Data_Transmit()

VOID TCommunication_Data_Link::Communication_Block_Data_Transmit ( VOID void_Receive_Data)
protectedvirtual

◆ Communication_Data_Receive()

VOID TCommunication_Data_Link::Communication_Data_Receive ( U8  u8_Receive_Value)
protectedvirtual

Communication data receive method.


Note
None
Parameters
[in]u8_Receive_Value- Received value
Returns
None
Override
Requered
Attention
None

Reimplemented in TProtocol_PLUG_Over_UART, TProtocol_MODBUS_Over_UART, TProtocol_ANVILEX_Over_UART_V2, TProtocol_ANVILEX_Over_UART, and TProtocol_ANVILEX_Master_Over_UART.

References Communication_Data_Receive(), NULL, and object_Data_Link.

Referenced by Communication_Data_Receive(), TCOM0::Emulation(), TUART1_STM32F410CBU6::Interrupt(), TUART6_STM32F410CBU6::Interrupt(), TUART1_STM32F429::Interrupt(), TUART6_STM32F429::Interrupt(), and TUART7_STM32F429::Interrupt().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Communication_Data_Transmit()

VOID TCommunication_Data_Link::Communication_Data_Transmit ( U8  u8_Transmit_Value)
protectedvirtual

Communication data transmit method.

Todo:
Anvilex GG: Remove after tests

Note
None
Parameters
[in]u8_Transmit_Value- Value to transmit
Returns
None
Override
Requered
Attention
None

Reimplemented in TUART7_STM32F429, TUART6_STM32F429, TUART1_STM32F429, TUART6_STM32F410CBU6, TUART1_STM32F410CBU6, and TCOM0.

References Communication_Data_Transmit(), NULL, and object_Data_Link.

Referenced by Communication_Data_Transmit(), and TProtocol_Base::Transmit_Char().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Connect_Data_Link()

VOID TCommunication_Data_Link::Connect_Data_Link ( TCommunication_Data_Link object_New_Data_Link)

Connect data link method.


Note
None
Parameters
[in]*object_New_Data_Link- Type of the connection
Returns
None
Override
Not requered
Attention
None

References object_Data_Link.

Referenced by TApplication_Base::Init(), and TBootloader_Base::Init().

Here is the caller graph for this function:

◆ Disconnect_Data_Link()

VOID TCommunication_Data_Link::Disconnect_Data_Link ( )

Disconnect data link method.


Note
None
Returns
None
Override
Requered
Attention
None

References NULL, and object_Data_Link.

◆ Execute()

VOID TCommunication_Data_Link::Execute ( )
virtual

◆ Execute_1ms()

VOID TCommunication_Data_Link::Execute_1ms ( )
virtual

1 ms cyclic execution method


Note
None
Returns
None
Override
Not allowed
Attention
None
Todo:
Anvilex GG: Remove after tests

Reimplemented in TProtocol_PLUG_Over_UART, TProtocol_MODBUS_Over_UART, TProtocol_IP_Over_ETHERNET, TProtocol_CANopen_Slave_Over_CAN, TProtocol_Base, and TCommunication_Link.

Referenced by TCommunication_Link::Execute_1ms().

Here is the caller graph for this function:

Member Data Documentation

◆ object_Data_Link

TCommunication_Data_Link* TCommunication_Data_Link::object_Data_Link = (TCommunication_Data_Link*)NULL
protected

The documentation for this class was generated from the following files: