#include "device_profiles/generic_device/generic_device_cfg.h"
{
uint32_t error = DEVICE_PROFILE_INTF_ERR_General;
if (NULL == pIntf)
{
error = DEVICE_PROFILE_INTF_ERR_PtrInvalid;
goto laError;
}
...
...
error = DEVICE_PROFILE_INTF_ERR_OK;
laError:
return error;
}
uint32_t DEVICE_PROFILE_register(DEVICE_PROFILE_INTF_Interface_t *pIntf)
Registers discrete IO device profile interface functions.
Definition discrete_io_device.c:251
bool GENERIC_DEVICE_CFG_callback(EI_API_CIP_NODE_T *pCipNode, uint16_t classId, uint16_t instanceId, uint16_t attrId, EI_API_CIP_ESc_t serviceCode, int16_t serviceFlag)
Configuration callback to synchronize generic device profile non-volatile values with actual stack at...
Definition generic_device_cfg.c:291
bool(* callback)(EI_API_CIP_NODE_T *pCipNode, uint16_t classId, uint16_t instanceId, uint16_t attrId, EI_API_CIP_ESc_t serviceCode, int16_t serviceFlag)
Definition device_profile_intf_intern.h:55
struct DEVICE_PROFILE_INTF_Interface::@7 cfg
Definition device_profile_intf_intern.h:46