Show the configuration details of the IEEE 1588 Hardware Assist block (i.e., contents of control and event registers, all snapshot registers, interrupts/events asserted or pending).
Reset IEEE 1588 Hardware Assist block to the default state as observed upon power-on reset
Enable and disable auxiliary timestamp notification interrupt
Poll for auxiliary master or slave timestamp
Inform when auxiliary master or slave timestamp captured through client callback
Set and retrieve Target Time
Poll to test whether system time exceeds or is equal to the target time
Inform when system time exceeds or equals target time through a client callback
Enable and disable system time exceeded or equaled target time notification interrupt
Get or clear statistics on packets transmitted and received (depending on the NPE channel mode configuration, all Ethernet or Sync & Delay_Req messages).
Set and retrieve System Time
Poll for Timestamp of all messages Sent or Received irrespective of master or slave mode
Set and retrieve Frequency Scaling Value, based upon which the System Time will be incremented
Poll for Sent Timestamp of the Sync and Delay_Req messages in both master and slave modes
Configure the PTP Ports (NPE channels) to operate in master or slave mode
Poll for Receive Timestamp of the Delay_Req and Sync messages in both master and slave modes
Intel® IXP400 Software Access-Layer Components: Time Sync (IxTimeSyncAcc) API

20.3.2Dependencies

Dependencies for IxTimeSyncAcc are shown in “IxTimeSyncAcc Component Dependencies” on page 284. These dependencies include:

IxFeatureCtrl – This component is used to verify support for the IEEE 1588 Hardware Assist block in the Intel® IXP4XX product line and IXC1100 control plane processors. It also is used to confirm the availability of NPE ports.

IxOSAL – This component makes use of the IxOSAL services for error logging or reporting as part of the standard error handling mechanism in the IXP400 software. IxOSAL also provide mutex locking, ISR registration, and access to hardware registers.

Note: Depending on the design and purpose of the client application, dependencies may exist to other access components besides IxTimeSyncAcc and the dependencies listed here.

20.3.3Error Handling

IxTimeSyncAcc returns IX_FAIL and other status values under the following circumstances:

Inappropriate parameter values passed to an API

Incorrect sequence of invocation of the APIs

Polled mode request while interrupt mode is set

Programmer’s Guide

IXP400 Software Version 2.0

April 2005

 

Document Number: 252539, Revision: 007

289

Page 289
Image 289
Intel IXP400 manual Document Number 252539, Revision 289