![ADLINK Technology PCI-8136M User Manual Download Page 89](http://html.mh-extra.com/html/adlink-technology/pci-8136m/pci-8136m_user-manual_2852811089.webp)
Motion Libra
•
81
5.9
Interrupt Control
@ Name
_8136_INT_Enable - Set interrupt event handler
_8136_INT_Disable - Remove int. event handler
_8136_S_Set_Int_Factor - Set interrupt factor
_8136_S_INT_Control - Enable/disable interrupt
_8136_S_Get_Int_Status - Get Int. status
_8136_Callback_Function - Set a call back function for int
@ Description
_8136_INT_Enable
This function is only for Windows system. It allocates interrupt
events in Windows system for passing message to application
from kernel.
_8136_INT_Disable
This function is only for Windows system. It clear event resources
which is allocated by INT_Enable() function.
_8136_S_Set_Int_Factor
This function is for setting interrupt source for each channel. Every
channel has 6 types of interrupt can be set. It includes four digital
input interrupt, index interrupt, encoder compare interrupt, timer
interrupt and voltage compare interrupt.
_8136_S_INT_Control
This function controls the hardware interrupt pin. The interrupt
won't come if this function hasn't used.
_8136_S_Get_Int_Status
Once the interrupt comes, user must use this function to check the
interrupt types. There are 6 types of interrupt at one interrupt
event. User must check what kinds of interrupt is coming this time.
Two or more interrupt will comes at the same time. User must
check each it to prevent lost any interrupt events.
_8136_Callback_Function
This function can set a user-defined function to be an ISR. When
one interrupt comes, this user-defined function will wake up at the
same time. Be careful to deal with this function. Don't take too
much time inside this function.
Summary of Contents for PCI-8136M
Page 1: ...PCI 8136M 6 Axis Motion Controller Card User s Guide ...
Page 2: ......