Function Library
111
5.7 Callback & Thread Functions
@ Name
AngeloRTV_Get_Int_Status (PortNo, IntStatus)
Gets the current interrupt status
AngeloRTV_Set_Int_Event (PortNo,hEvent)
Assigns the windows interrupt event
AngeloRTV_Set_Callback(PortNo, CallBackProc)
Sets the callback function when an interrupt is generated
@ Description
AngeloRTV_Get_Int_Status:
Allows users to identify what caused an interrupt signal.
Bit 0: GPIO interrupt, when Digital input channel is changed.
Bit 1: Channel 0 Image ready
Bit 2: Channel 1 Image ready
Bit 3: Channel 2 Image ready
Bit 4: Channel 3 Image ready
Note
:
There are four channels in each port, the default channel is
channel 0.
AngeloRTV_Set_Int_Event:
Links interrupt events. Users only have to declare the “hEvent”
variable and call this function to DLL, the DLL will link the event
and interrupt automatically.
AngeloRTV_Set_Callback:
Links the callback function when an interrupt is generated to host
pc.
Note
:
There are two ways to use the synchronization mechanism,
one is the callback function, and the other is the thread func-
tion.
@ Syntax
C/C++ (Windows/CE.NET)
I16 AngeloRTV_Get_Int_Status(U16 PortNo,U32
*IntStatus);
I16 AngeloRTV_Set_Int_Event(U16 PortNo,HANDLE*
hEvent);
Содержание cRTV-24
Страница 4: ......
Страница 8: ...List of Tables iv Table 5 2 C C Data Types 83 Table 5 3 Pixel Data 122 ...
Страница 10: ......
Страница 18: ...8 Introduction ...
Страница 34: ...24 Hardware Reference Figure 2 8 STRG Address Jumpers ...
Страница 55: ...Installation Guide 45 Figure 3 2 cRTV 24 3U cPCI ...
Страница 61: ...Installation Guide 51 ...
Страница 62: ...52 Installation Guide ...
Страница 64: ...54 Installation Guide The Device Manager should be as follows ...
Страница 67: ...Installation Guide 57 ...
Страница 68: ...58 Installation Guide 3 When the following window appears please click Con tinue Anyway ...
Страница 70: ...60 Installation Guide The Device Manager should be as follows ...
Страница 72: ...62 Installation Guide 3 Click the Finish button to finish the installation ...
Страница 76: ...66 Installation Guide ...
Страница 78: ...68 ViewCreatorPro Utility 4 2 Component Description Start the utility and the view should like below ...
Страница 144: ...134 Function Library ...
Страница 148: ...138 Programming Guide Video Proc Amp ADLink Bt878 Crossbar filter Select video input before or during video previewing ...
Страница 174: ...164 Programming Guide ...