uint32_t EI_API_ADP_setPortEnable | ( | T * | pAdp_p, |
bool | portEnable_p | ||
) |
Set the port state of the Time Sync Object of the current adapter enable or disable (Instance Attribute ID: 13).
Function that sets the PortEnable state in the PortEnableCfg attribute for the EtherNet/IP adapter selected by parameter pAdp_p
in output parameter pPortEnable
.
[in] | pAdp_p | Pointer to the adapter. |
[in] | portEnable_p | Time Sync's network port state. |
EI_API_ADP_eERR_OK | Success. |
EI_API_ADP_eERR_GENERAL | General error. |