Intel IXP400 Frozen Dessert Maker User Manual


 
Intel
®
IXP400 Software
Access-Layer Components: Time Sync (IxTimeSyncAcc) API
Programmer’s Guide IXP400 Software Version 2.0 April 2005
Document Number: 252539, Revision: 007 289
Configure the PTP Ports (NPE channels) to operate in master or slave mode
Poll for Sent Timestamp of the Sync and Delay_Req messages in both master and slave modes
Poll for Receive Timestamp of the Delay_Req and Sync messages in both master and slave
modes
Poll for Timestamp of all messages Sent or Received irrespective of master or slave mode
Set and retrieve System Time
Set and retrieve Frequency Scaling Value, based upon which the System Time will be
incremented
Enable and disable system time exceeded or equaled target time notification interrupt
Inform when system time exceeds or equals target time through a client callback
Poll to test whether system time exceeds or is equal to the target time
Set and retrieve Target Time
Inform when auxiliary master or slave timestamp captured through client callback
Poll for auxiliary master or slave timestamp
Enable and disable auxiliary timestamp notification interrupt
Reset IEEE 1588 Hardware Assist block to the default state as observed upon power-on reset
Get or clear statistics on packets transmitted and received (depending on the NPE channel
mode configuration, all Ethernet or Sync & Delay_Req messages).
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).
20.3.2 Dependencies
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.3 Error 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