Download M4K1553MA Software Tools Programmer`s Reference

Transcript
Table of Contents
Table of Contents
1 Introduction
Getting Started....................................................................................................... 1-1
The Excalibur Systems Website...................................................................................... 1-2
The Excalibur Configuration Utility Program ................................................................... 1-2
An Overview of the Data Communications Bus ................................................. 1-3
M4K1553MA Software Tools Functions .............................................................. 1-4
Software Tools for the Exc-4000P104plus Carrier Board ............................................... 1-4
Compiler Options............................................................................................................. 1-4
Font Conventions Used in M4K1553MA Software Tools ................................................ 1-5
2 General Functions
Disable_Selected_Transmitter_MA ................................................................................. 2-1
Enable_Selected_Transmitter_MA.................................................................................. 2-2
Get_Board_Status_MA ................................................................................................... 2-3
Get_Id_MA ...................................................................................................................... 2-3
Get_Error_String_MA...................................................................................................... 2-4
Get_Mode_MA ................................................................................................................ 2-5
Get_Time_Tag_MA ......................................................................................................... 2-6
Init_Module_MA ............................................................................................................. 2-6
Print_Error_MA................................................................................................................ 2-8
Release_Module_MA ...................................................................................................... 2-8
Reset_Time_Tag_MA ..................................................................................................... 2-8
Set_Interrupt_MA ............................................................................................................ 2-9
Set_Mode_MA............................................................................................................... 2-10
Set_Timetag_Res_MA .................................................................................................. 2-11
Stop_MA........................................................................................................................ 2-12
Using Interrupts in Windows.............................................................................. 2-13
Get_Interrupt_Count_MA .............................................................................................. 2-13
Wait_For_Interrupt_MA ................................................................................................. 2-14
3 Remote Terminal Functions
RT Functions.......................................................................................................... 3-2
Get_Next_RT_Message_MA .......................................................................................... 3-2
Load_RT_Data_MA......................................................................................................... 3-4
Read_RT_Data_MA ........................................................................................................ 3-5
Read_RT_Status_MA ..................................................................................................... 3-6
Run_RT_MA.................................................................................................................... 3-6
Set_Bit_MA ..................................................................................................................... 3-7
Set_Bit_Source_MA ........................................................................................................ 3-7
Set_RT_Active_MA ......................................................................................................... 3-8
Set_RT_Broadcast_MA................................................................................................... 3-9
Set_RT_Buffering_Mode_MA ......................................................................................... 3-9
Set_SA_Interrupt_MA ................................................................................................... 3-10
Set_Vector_MA ............................................................................................................. 3-11
4 Bus Monitor Functions
Get_MON_Status_MA.....................................................................................................
Run_MON_MA ................................................................................................................
Set_Broad_Ctl_MA..........................................................................................................
Get_Next_Message_MA .................................................................................................
M4K1553MA Software Tools: Programmer’s Reference
4-1
4-1
4-2
4-3
page i