uint32_t EI_API_ADP_getPtpEnable | ( | T * | pAdp_p, |
bool * | pPtpEnable_p | ||
) |
Get the PTPEnable attribute of the Time Sync Object (Instance Attribute ID: 1).
Function that returns the PTPEnable attribute of the adapter selected by parameter pAdp_p
in output parameter pPtpEnable
.
[in] | pAdp_p | Pointer to the adapter. |
[out] | pPtpEnable_p | Pointer to a boolean that is set to true if PTP is enabled and false if not. |
EI_API_ADP_eERR_OK | Success. |
EI_API_ADP_eERR_GENERAL | General error. |