ConOpSys V2970
P004.07
ANVILEX control operating system
|
#include <ABCC_DPV1.h>
Public Member Functions | |
TABCC_DPV1 () | |
Class constructor method. More... | |
Public Member Functions inherited from TABCC_Base | |
TABCC_Base () | |
Class constructor method. More... | |
virtual | ~TABCC_Base () |
Class destructor method. More... | |
VOID | Init () |
ABCC driver initialisation method. More... | |
VOID | Done () |
ABCC driver Finaliseation method. More... | |
VOID | Assign_SPI_Master (TSPI_Master_Base *object_New_SPI_Master) |
Assign SPI master hardware driver. More... | |
VOID | Unassign_SPI_Master () |
Unassign SPI master hardware driver. More... | |
VOID | Activate_Process_Data () |
Activate process data processing. More... | |
VOID | Deactivate_Process_Data () |
Deactivate process data processing. More... | |
VOID | Execute () |
VOID | Execute_System_Timer () |
VOID | Map_Write_Parameter_To_Process_Data (TParameter_Base *object_Parameter) |
Map parameter to the write process data. More... | |
VOID | Map_Read_Parameter_To_Process_Data (TParameter_Base *object_Parameter) |
BOOL | Is_Initialised () |
!< Map parameter to the read process data More... | |
VOID | Send_Information (TProtocol_Base *object_Protocol) |
Send information about object. More... | |
Protected Member Functions | |
virtual VOID | Object_Command (ABP_MsgType *psNewMessage, ABP_MsgType *psResponceMessage) |
Class destructor method. More... | |
virtual VOID | Instance_Command (ABP_MsgType *psNewMessage, ABP_MsgType *psResponceMessage) |
Instance command processing method. More... | |
Protected Member Functions inherited from TABCC_Base | |
U16 | Get_Message_Data_Length (ABP_MsgType *struct_Message) |
VOID | Set_Message_Data_Length (ABP_MsgType *struct_Message, U16 u16_Length) |
VOID | Get_Message_Data_U8 (ABP_MsgType *psMsg, U8 *u8_Data, U16 u16_Offset) |
VOID | Set_Message_Data_U8 (ABP_MsgType *psMsg, U8 u8_Data, U16 u16_Offset) |
VOID | Get_Message_Data_U16 (ABP_MsgType *psMsg, U16 *u16_Data, U16 u16_Offset) |
VOID | Set_Message_Data_U16 (ABP_MsgType *psMsg, U16 u16_Data, U16 u16_Offset) |
VOID | Set_Message_Data_String (ABP_MsgType *psMsg, const char *pcString, U16 iNumChar, U16 u16_Offset) |
VOID | Set_Message_Map_ADI_Area (ABP_MsgType *psMsg, U8 u8_ADI_Data_Type, U8 u8_ADI_Elements_Number, U16 u16_ADI_Order_Number) |
VOID | Set_Msg_Header (ABP_MsgType *psMsg, U8 bObject, U16 iInstance, U8 bAttribute, ABP_MsgCmdType eService, U16 iDataSize, U8 bSourceId) |
VOID | Create_Responce_From_Request (ABP_MsgType *struct_Request_Message, ABP_MsgType *struct_Responce_Message) |
VOID | Create_Error_Responce_From_Request (ABP_MsgType *struct_Request_Message, ABP_MsgType *struct_Responce_Message, ABP_MsgErrorCodeType enum_Error_Code) |
VOID | Set_Message_Responce (ABP_MsgType *psMsg, U16 u16_Data_Size) |
VOID | Set_Message_Error_Response (ABP_MsgType *psMsg, U16 iMsgDataSize, ABP_MsgErrorCodeType eErr) |
BOOL | Is_Message_Command (ABP_MsgType *struct_Message) |
U16 | Get_Message_Instance (ABP_MsgType *struct_Message) |
U8 | Get_Message_Command_Code (ABP_MsgType *struct_Message) |
U8 | Get_Message_Command_Extension_0 (ABP_MsgType *struct_Message) |
VOID | Get_Attribute (ABP_MsgType *psMsg, U8 bObject, U16 iInstance, U8 bAttribute, U8 bSourceId) |
VOID | Set_Byte_Attribute (ABP_MsgType *psMsg, U8 bObject, U16 iInstance, U8 bAttribute, U8 bVal, U8 bSourceId) |
VOID | Map_ADI_Write_Area (ABP_MsgType *psMsg, U8 bObject, U16 iInstance, U8 bSourceId, U16 u16_ADI_Instance_Number) |
VOID | Map_ADI_Read_Area (ABP_MsgType *psMsg, U8 bObject, U16 iInstance, U8 bSourceId, U16 u16_ADI_Instance_Number) |
TABCC_DPV1::TABCC_DPV1 | ( | ) |
Class constructor method.
|
protectedvirtual |
Instance command processing method.
Implements TABCC_Base.
References TABCC_Base::Create_Error_Responce_From_Request(), TABCC_Base::Create_Responce_From_Request(), DPV1_PRM_DPV1_STATUS_BYTES, DPV1_PRM_STANDARD_BYTES, TABCC_Base::Get_Message_Instance(), TABCC_Base::Set_Message_Data_Length(), TABCC_Base::Set_Message_Data_String(), TABCC_Base::Set_Message_Data_U16(), TABCC_Base::Set_Message_Data_U8(), TABCC_Base::Set_Message_Error_Response(), and TABCC_Base::Set_Message_Responce().
|
protectedvirtual |
Class destructor method.
Implements TABCC_Base.
References dpv1_Object::bRevision, dpv1_sObject, dpv1_Object::iHighestInstanceNo, dpv1_Object::iNumberOfInstances, dpv1_Object::pcName, TABCC_Base::Set_Message_Data_String(), TABCC_Base::Set_Message_Data_U16(), TABCC_Base::Set_Message_Data_U8(), TABCC_Base::Set_Message_Error_Response(), and TABCC_Base::Set_Message_Responce().