To implement the interrupt functions on the me8100 board the following order of operations should be followed: -------------------------------------------------------- Interrupt on Pattern Match -------------------------------------------------------- 1. Call "me8100DIOSetPattern". The parameter "pattern" will define the pattern desired. When this pattern appears on the inputs an interrupt will occur. 2. Call "me8100DIOSetTristateOFF" 3. Call "me8100SetSinkSourceMode" and set the outputs to source for example. 4. Call the "me8100SetIntMode" function. The mode must be set for INTERRUPT_ON_PATTERN_COMPARE. 5. Call "me8100EnableInt" to enable the interrupt. When the selected pattern appears on the inputs, an interrupt will occur and the service routine will be executed. 6. By calling the function "me8100GetIrqCnt", the number of interrupts can be determined. 7. Call "me8100DisableInt" --------------------------------------------------------- Interrupt on Bit Pattern Change --------------------------------------------------------- 1. Call "me8100DIOSetTristateOFF" 2. Call "me8100SetSinkSourceMode" and set the outputs to "source" for example. 3. Call the "me8100SetIntMode" function. The mode must be set for INTERRUPT_ON_BIT_CHANGE. 4. Call "me8100DIOSetMask" The parameter "mask" will define which bits are to be monitored. When one of these bits changes state, an interrupt will occur. Use 0xFFFF to monitor all bits. 5. Call "me8100EnableInt" to enable the interrupt. 6. By calling the function "me8100GetIrqCnt", the number of interrupts can be determined. 7. By calling the function "me8100DIGetIntStatus", the bit that caused the interrupt can be determined from the value pointed to by the "BitValue" parameter. 8. Call "me8100DisableInt" Note: A known pattern will exist on the input lines. This standard pattern defines the neutral state. An interrupt occurs when a bit changes state and alters the standard pattern. The "mask" parameter in the "me8100DIOSetMask" function can be set to monitor all bits by setting it to 0xFFFF. If for example, only selected bits are chosen to be monitored (example: set "mask" to 0x000F to monitor the 4 lower bits), a bit change on any other bits (the 12 high bits in this example) will NOT cause an interrupt. Only a bit change on the bits activated by the "mask" parameter will cause an interrupt.Download Driver Pack
After your driver has been downloaded, follow these simple steps to install it.
Expand the archive file (if the download file is in zip or rar format).
If the expanded file has an .exe extension, double click it and follow the installation instructions.
Otherwise, open Device Manager by right-clicking the Start menu and selecting Device Manager.
Find the device and model you want to update in the device list.
Double-click on it to open the Properties dialog box.
From the Properties dialog box, select the Driver tab.
Click the Update Driver button, then follow the instructions.
Very important: You must reboot your system to ensure that any driver updates have taken effect.
For more help, visit our Driver Support section for step-by-step videos on how to install drivers for every file type.