| uint32_t EI_API_ADP_setPortLogSyncInterval | ( | T * | pAdp_p, |
| int16_t | portLogSyncInterval_p | ||
| ) |
Set the PortLogSyncInterval in attribute of the Time Sync object of the adapter (Instance Attribute ID: 15).
Function that sets the PortLogSyncInterval value for the adapter selected by parameter pAdp_p. Within the PortLogSyncIntervalCfg structure (attribute 15) this value 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 datatype of PortLogSyncInterval is int16_t (INT). The permitted value range is between -3 and 2.
| [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. |