Instruction manual
Table Of Contents
- INTRODUCTION
- GETTING STARTED
- MAKING THE CONNECTIONS
- USING THE PC215E
- STRUCTURE AND ASSIGNMENTS OF THE REGISTERS
- Register Assignments
- Register Groups
- The Register Details
- Programmable Peripheral Interface PPI-X Data Register Port A
- Programmable Peripheral Interface PPI-X Data Register Port B
- Programmable Peripheral Interface PPI-X Data Register Port C
- Programmable Peripheral Interface PPI-X Command Register
- Programmable Peripheral Interface PPI-Y Data Register Port A
- Programmable Peripheral Interface PPI-Y Data Register Port B
- Programmable Peripheral Interface PPI-Y Data Register Port C
- Programmable Peripheral Interface PPI-Y Command Register
- Z1 Counter 0 Data Register
- Z1 Counter 1 Data Register
- Z1 Counter 2 Data Register
- Counter/Timer Z1 Control Register
- Z1 Counter/Timer Status Register
- Z2 Counter 0 Data Register
- Z2 Counter 1 Data Register
- Z2 Counter 2 Data Register
- Counter/Timer Z2 Control Register
- Z2 Counter/Timer Status Register
- Group Z Clock Connection Register
- Group Z Gate Connection Register
- Interrupt Source Selection Register
- Interrupt Status Register
- PROGRAMMING THE PC215E
- Copyright
- Files installed from the Distribution Diskette
- Windows DLL and Examples
- DOS 'C' Library and Examples
- Using the Dynamic Link Library
- Windows and DOS Library Functions
- Initialisation Functions
- Interrupt Control Functions
- Data Buffer Functions
- Timer/Counter Functions
- Differential Counter Functions
- Frequency Generation Functions
- Millisecond Stopwatch Functions
- Frequency Input and Output Functions
- Digitally- and Voltage-Controlled Oscillator Functions
- Digital Input/Output Functions
- Switch Scanner Matrix Functions
- Bi-Directional Data Bus Functions
- PC215E Library Error Codes
- PC215E Interface Guide For LABTECH NOTEBOOK
- Guide to User Programming
- Signal Centre
- CONTENTS
- DECLARATION OF CONFORMITY

Page
51
PC215E
5.3.21 Interrupt Source Selection Register
This is the register that can be used to select one or more interrupt source for the PC215E
board.
Register
Offset
Write and/or
Read
Register
Width
Register
Title
Mnemonic
1E
16
Write 8 bits
Interrupt Source Selection Register
INT_SCE
FUNCTION
Selects one or more of the six PC215E interrupt sources. The selected source(s) will then have
the ability to drive the board’s interrupt request level, as selected on jumper J1. See Section
2.6.3 for details on selecting the PC215E interrupt request level. If more than one source is
selected, the interrupt routine must interrogate the board to determine which source generated
the interrupt. The Interrupt Status register provides this information - see section 5.3.22.
Note: The selected interrupt source signals are latched into the Interrupt Status register - i.e.
once a selected interrupt source signal goes high, it remains high until the corresponding bit in
the Interrupt Source Selection register is cleared (set to 0). Therefore, after servicing the
asserted interrupt sources, the interrupt routine must write a zero to this register to clear all
latched interrupt source signals, then re-write the mask word to re-select the required interrupt
source(s).
The Six Interrupt Sources
The six sources are as follows:
1. PPI X Port C bit 0 digital input/output
2. PPI X Port C bit 3 digital input/output
3. PPI Y Port C bit 0 digital input/output
4. PPI Y Port C bit 3 digital input/output
5. Z1 Counter 1 output
6. Z2 Counter 1 output
For the PPI interrupt sources, Port C of the relevant PPI device can be either an input port or as
an output port, and this is programmed by sending a control word to the PPI’s Command
Register.