
1OVERVIEW........................................................................................................ 1-1
2INSTALLING AND UNINSTALLING THE DRIVER ..........................................2-1
2.1 Linux..............................................................................................................................................2-1
2.1.1 Installing the Driver........................................................................................................................2-1
2.1.2 Uninstalling the Driver....................................................................................................................2-2
2.1.3 Generating the Example Programs................................................................................................2-2
2.1.4 Generating the Upgrade Tool ........................................................................................................2-3
2.2 Solaris ...........................................................................................................................................2-4
2.2.1 Installing the Driver........................................................................................................................2-4
2.2.2 Uninstalling the Driver....................................................................................................................2-4
2.2.3 File Locations ................................................................................................................................2-5
2.2.4 Example Programs ........................................................................................................................2-5
2.3 Windows........................................................................................................................................2-6
2.3.1 Installing the Driver........................................................................................................................2-6
2.3.2 Uninstalling the Driver....................................................................................................................2-6
2.3.3 File Locations ................................................................................................................................2-6
2.3.4 Example Programs ........................................................................................................................2-7
2.3.5 Control Utility .................................................................................................................................2-7
2.3.6 Clock Daemon...............................................................................................................................2-8
3USING THE DRIVER TO UPGRADE ................................................................ 3-1
4INTERFACE TO THE DRIVER API...................................................................4-1
4.1 Header Files ..................................................................................................................................4-1
4.1.1 Tsync.h..........................................................................................................................................4-1
4.1.2 tsync_nonkts.h...........................................................................................................................4-195
4.1.3 Tsync_hw.h ...............................................................................................................................4-196
4.2 TSync-PCIe API —Routine Descriptions..................................................................................4-199
4.2.1 TSYNC_open ............................................................................................................................4-199
4.2.2 TSYNC_close............................................................................................................................4-199
4.2.3 TSYNC_get ...............................................................................................................................4-199
4.2.4 TSYNC_set................................................................................................................................4-200
4.2.5 TSYNC_waitFor.........................................................................................................................4-200
4.2.6 API Error Message Returns.......................................................................................................4-201
4.2.7 API Calls Supported by TSync ..................................................................................................4-201
4.2.8 Clock Service (CS) Calls ...........................................................................................................4-203
4.2.9 Frequency Output (FP) Calls.....................................................................................................4-213
4.2.10 Flash Manager (FS) Calls..........................................................................................................4-214
4.2.11 General Purpose Input (GI) Calls ..............................................................................................4-216
4.2.12 General Purpose Output (GO) Calls..........................................................................................4-218
4.2.13 GPS Reference Component (GR) Calls ....................................................................................4-225
4.2.14 Host Agent (HA) Calls................................................................................................................4-234
4.2.15 Host Reference (HR) Calls ........................................................................................................4-234
4.2.16 Hardware (HW) Calls.................................................................................................................4-238
4.2.17 Initializer Service (IN) Calls........................................................................................................4-246
4.2.18 IRIG Output Component (IP) Calls ............................................................................................4-246