Omega Engineering IOP-241 user manual Data Port B Control Register Base +

Page 26

5.2Data Port B Control Register (Base + 1)

The Data Port B Control Register contains the control bits for I/O channels DATA8 - DATA15. Each I/O channel may be individually programmed for input by writing a '1' to the appropriate bit of this register.

 

Bit

Name

Description

 

 

 

 

 

 

 

 

 

7

DATA15

General Purpose I/O bit 15

 

 

 

 

 

 

 

6

DATA14

General Purpose I/O bit 14

 

 

 

 

 

 

 

5

DATA13

General Purpose I/O bit 13

 

 

 

 

 

 

 

4

DATA12

General Purpose I/O bit 12

 

 

 

 

 

 

 

3

DATA11

General Purpose I/O bit 11

 

 

 

 

 

 

 

2

DATA10

General Purpose I/O bit 10

 

 

 

 

 

 

 

1

DATA9

General Purpose I/O bit 9

 

 

 

 

 

 

 

0

DATA8

General Purpose I/O bit 8

 

 

 

 

 

 

 

 

 

 

 

Table 5-3. Data Port B Control Register

5.3Data Port C Control Register (Base + 2)

The Data Port C Control Register contains the control bits for I/O channels DATA16 - DATA23. Each I/O channel may be individually programmed for input by writing a '1' to the appropriate bit of this register. In addition, any of these eight I/O channels which are programmed for input may also be used to generate interrupts. In order to program an I/O channel as an interrupt source, the Port C Interrupt Enable Register must be set appropriately. The I/O channel must also be programmed for input by writing a '1' to the appropriate bit of the Data Port C Control Register.

 

Bit

Name

Description

 

 

 

 

 

 

 

 

 

7

DATA23/INT7

General Purpose I/O bit 23 and Interrupt Line 7

 

 

 

 

 

 

 

6

DATA22/INT6

General Purpose I/O bit 22 and Interrupt Line 6

 

 

 

 

 

 

 

5

DATA21/INT5

General Purpose I/O bit 21 and Interrupt Line 5

 

 

 

 

 

 

 

4

DATA20/INT4

General Purpose I/O bit 20 and Interrupt Line 4

 

 

 

 

 

 

 

3

DATA19/INT3

General Purpose I/O bit 19 and Interrupt Line 3

 

 

 

 

 

 

 

2

DATA18/INT2

General Purpose I/O bit 18 and Interrupt Line 2

 

 

 

 

 

 

 

1

DATA17/INT1

General Purpose I/O bit 17 and Interrupt Line 1

 

 

 

 

 

 

 

0

DATA16/INT0

General Purpose I/O bit 16 and Interrupt Line 0

 

 

 

 

 

 

 

 

 

 

 

Table 5-4. Data Port C Control Register

IOP-241 Users Manual

26

Image 26
Contents 15,1*,1 WARRANTY/DISCLAIMER Application of Council Directive Manufacturers NameManufacturer’s Address Standards to which Conformity is DeclaredServicing Europe Servicing North AmericaFor immediate technical or application assistance Page Table of Contents Page List of Figures and Tables IOP-241 Features System ConfigurationClient Driver recommended Enabler IOP-241 Client Driver for DOSClient Driver Installation Command Line Options Device = C\IOP241CL.SYSPage Common Problems IOP-241 Enabler for DOS Enabler Installation DEVICE=C\IOP241EN.EXE Common Problems After Completing Configuration Installing the IOP-241 Under Windows 95/98 Resource Settings in Windows 95/98Changing Resource Settings with Device Manager After Completing Configuration I/O Port Description Port C Interrupt Description External Interrupt DescriptionData Port a Control Register Base + Offset Read/Write RegisterData Port B Control Register Base + Data Port C Control Register Base +Port C Interrupt Enable Register Base + Bit Name DescriptionInterrupt Mode Control Register Base + Interrupt Status Register Read Only Base +Port C Interrupt Sources Interrupt Acknowledge Register Write Only Base +Summary of Interrupt Source Options Summary of Input/Output Options External Interrupt SourceProgramming Example External Connections Optional Accessories CP-1037 Cable AssemblyUIO-37 Screw Terminal Block Connector Physical DimensionsPower Requirements Bus InterfaceVersion January 25