uint32_t EI_API_ADP_getPortEnable | ( | T * | pAdp_p, |
bool * | pPortEnable_p | ||
) |
Get the PortEnable attribute state of the Time Sync Object (Instance Attribute ID: 13).
Function that returns the PortEnable member of the PortEnableCfg attribute for the EtherNet/IP adapter selected by parameter pAdp_p
in output parameter pPortEnable
.
[in] | pAdp_p | Pointer to the adapter. |
[out] | pPortEnable_p | Pointer to a boolean that is set to true if a PTP port is enabled and false if not. |
EI_API_ADP_eERR_OK | Success. |
EI_API_ADP_eERR_GENERAL | General error. |