Instruction manual

Table Of Contents
PC215E
4.2.10 Voltage Controlled Oscillator 20
4.2.11 Switch Matrix 21
4.2.12 8-Bit Bi-Directional Bus 22
5. STRUCTURE AND ASSIGNMENTS OF THE REGISTERS..................................23
5.1 Register Assignments 23
5.2 Register Groups 23
5.2.1 Cluster X, Y and Z Groups 23
5.2.2 Counter Connection Register Group 23
5.2.3 Interrupts Group 23
5.3 The Register Details 24
5.3.1 Programmable Peripheral Interface PPI-X Data Register Port A 25
5.3.2 Programmable Peripheral Interface PPI-X Data Register Port B 26
5.3.3 Programmable Peripheral Interface PPI-X Data Register Port C 27
5.3.4 Programmable Peripheral Interface PPI-X Command Register 28
5.3.5 Programmable Peripheral Interface PPI-Y Data Register Port A 30
5.3.6 Programmable Peripheral Interface PPI-Y Data Register Port B 31
5.3.7 Programmable Peripheral Interface PPI-Y Data Register Port C 32
5.3.8 Programmable Peripheral Interface PPI-Y Command Register 33
5.3.9 Z1 Counter 0 Data Register 35
5.3.10 Z1 Counter 1 Data Register 37
5.3.11 Z1 Counter 2 Data Register 38
5.3.12 Counter/Timer Z1 Control Register 39
5.3.13 Z1 Counter/Timer Status Register 41
5.3.14 Z2 Counter 0 Data Register 42
5.3.15 Z2 Counter 1 Data Register 43
5.3.16 Z2 Counter 2 Data Register 44
5.3.17 Counter/Timer Z2 Control Register 45
5.3.18 Z2 Counter/Timer Status Register 47
5.3.19 Group Z Clock Connection Register 49
5.3.20 Group Z Gate Connection Register 50
5.3.21 Interrupt Source Selection Register 51
5.3.22 Interrupt Status Register 52
6. PROGRAMMING THE PC215E..............................................................................54
6.1 Copyright 54
6.2 Files installed from the Distribution Diskette 54
6.3 Windows DLL and Examples 55
6.4 DOS 'C' Library and Examples 55
6.4.1 Borland C++ User Information 56
6.4.2 Microsoft C/C++ User Information 56
6.5 Using the Dynamic Link Library 56
6.5.1 Visual Basic 56
6.6 Windows and DOS Library Functions 58
6.6.1 Initialisation Functions 58
6.6.2 Interrupt Control Functions 60
6.6.3 Data Buffer Functions 62
6.6.4 Timer/Counter Functions 69
6.6.5 Differential Counter Functions 78
6.6.6 Frequency Generation Functions 82
6.6.7 Millisecond Stopwatch Functions 84
6.6.8 Frequency Input and Output Functions 89
6.6.9 Digitally- and Voltage-Controlled Oscillator Functions 95
6.6.10 Digital Input/Output Functions 99
6.6.11 Switch Scanner Matrix Functions 104