uint32_t EI_API_ADP_setPortLogSyncInterval | ( | T * | pAdp_p, |
uint16_t | portLogSyncInterval_p | ||
) |
Set the PortLogSyncInterval of the timeSync object of the adapter (Instance Attribute ID: 15).
Function that sets the Port Log Sync Interval attribute of the adapter selected by parameter pAdp_p
. PortLogSyncIntervalCfg structure specifies the PTP sync interval between successive �Sync� messages issued by a master clock on each PTP port of the device. The units of the PortLogSyncInterval member are log base 2 seconds The PortLogSyncInterval is int16_t
type. It's limited to values between -3 and 2. Note: The A port�s PortLogSyncInterval member should be less than or equal to its PortLogAnnounceInterval member.
[in] | pAdp_p | Pointer to the adapter. |
[in] | portLogSyncInterval_p | int16_t Value of PTP Sync frame interval |
EI_API_ADP_eERR_OK | Success. |
EI_API_ADP_eERR_GENERAL | General error. |