Instruction manual

Table Of Contents
Page
61
PC215E
6.6.2.3 Enable a Board's Interrupts- enableInterrupts
Enables the interrupt level registered for a board, by unmasking the corresponding bit in the
Interrupt Mask register (IMR) of the 82C59 Programmable Interrupt Controller (PIC) on the host
computer. The interrupt sources un-masked by a previous call to the setIntMask function are
now enabled. See section 2.6.4 for details of the interrupt sources.
i = enableInterrupts (h)
where
h Integer: Board handle as issued by the
registerBoard function.
Returns Integer:
OK
or ERRHANDLE
Prior Calls registerBoard
See Also disableInterrupts
setIntMask
TCsetEventRecorder
DIOsetBiDirectionalBus
TCsetDCO
TCsetVCO
6.6.2.4 Disable a Board's Interrupts - disableInterrupts
Disables the interrupt level registered for a board, by masking the corresponding bit in the IMR
of the PIC on the host computer.
i = disableInterrupts (h)
where
h Integer: Board handle as issued by the
registerBoard function
Returns Integer:
OK
or ERRHANDLE
Prior Calls registerBoard
enableInterrupts
setIntMask
See Also