82C55A

The modes for Port A and Port B can be separately defined, while Port C is divided into two portions as required by the Port A and Port B definitions. All of the output registers, including the status flip-flops, will be reset whenever the mode is changed. Modes may be combined so that their functional definition can be “tailored” to almost any I/O structure. For instance: Group B can be programmed in Mode 0 to monitor simple switch closings or display compu- tational results, Group A could be programmed in Mode 1 to monitor a keyboard or tape reader on an interrupt-driven basis.

The mode definitions and possible mode combinations may seem confusing at first, but after a cursory review of the complete device operation a simple, logical I/O approach will surface. The design of the 82C55A has taken into account things such as efficient PC board layout, control signal defi- nition vs. PC layout and complete functional flexibility to sup- port almost any peripheral device with no external logic. Such design represents the maximum use of the available pins.

Single Bit Set/Reset Feature (Figure 5)

Any of the eight bits of Port C can be Set or Reset using a single Output instruction. This feature reduces software requirements in control-based applications.

When Port C is being used as status/control for Port A or B, these bits can be set or reset by using the Bit Set/Reset operation just as if they were output ports.

 

 

 

 

 

CONTROL WORD

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

D7

D6

 

D5

 

D4

D3

D2

D1

D0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

BIT SET/RESET

 

 

 

 

 

 

X

 

X

X

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1 = SET

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

DON’T

 

 

 

 

 

 

 

 

 

 

 

0 = RESET

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

CARE

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

BIT SELECT

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0

1

2

3

 

4

5

6

7

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0

1

0

1

 

0

1

0

1

B0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0

0

1

1

 

0

0

1

1

B1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0

0

0

0

 

1

1

1

1

B2

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

BIT SET/RESET FLAG

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0 = ACTIVE

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

FIGURE 5. BIT SET/RESET FORMAT

Interrupt Control Functions

When the 82C55A is programmed to operate in mode 1 or mode 2, control signals are provided that can be used as interrupt request inputs to the CPU. The interrupt request signals, generated from port C, can be inhibited or enabled by setting or resetting the associated INTE flip-flop, using the bit set/reset function of port C.

This function allows the programmer to enable or disable a CPU interrupt by a specific I/O device without affecting any other device in the interrupt structure.

INTE Flip-Flop Definition

(BIT-SET)-INTE is SET - Interrupt Enable

(BIT-RESET)-INTE is Reset - Interrupt Disable

NOTE: All Mask flip-flops are automatically reset during mode se- lection and device Reset.

Operating Modes

Mode 0 (Basic Input/Output). This functional configuration provides simple input and output operations for each of the three ports. No handshaking is required, data is simply writ- ten to or read from a specific port.

Mode 0 Basic Functional Definitions:

Two 8-bit ports and two 4-bit ports

Any Port can be input or output

Outputs are latched

Input are not latched

16 different Input/Output configurations possible

MODE 0 PORT DEFINITION

 

A

 

B

GROUP A

 

GROUP B

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

PORTC

 

 

PORTC

D4

 

D3

D1

 

D0

PORT A

(Upper)

#

PORT B

(Lower)

 

 

 

 

 

 

 

 

 

 

 

0

 

0

0

 

0

Output

Output

0

Output

Output

 

 

 

 

 

 

 

 

 

 

 

0

 

0

0

 

1

Output

Output

1

Output

Input

 

 

 

 

 

 

 

 

 

 

 

0

 

0

1

 

0

Output

Output

2

Input

Output

 

 

 

 

 

 

 

 

 

 

 

0

 

0

1

 

1

Output

Output

3

Input

Input

 

 

 

 

 

 

 

 

 

 

 

0

 

1

0

 

0

Output

Input

4

Output

Output

 

 

 

 

 

 

 

 

 

 

 

0

 

1

0

 

1

Output

Input

5

Output

Input

 

 

 

 

 

 

 

 

 

 

 

0

 

1

1

 

0

Output

Input

6

Input

Output

 

 

 

 

 

 

 

 

 

 

 

0

 

1

1

 

1

Output

Input

7

Input

Input

 

 

 

 

 

 

 

 

 

 

 

1

 

0

0

 

0

Input

Output

8

Output

Output

 

 

 

 

 

 

 

 

 

 

 

1

 

0

0

 

1

Input

Output

9

Output

Input

 

 

 

 

 

 

 

 

 

 

 

1

 

0

1

 

0

Input

Output

10

Input

Output

 

 

 

 

 

 

 

 

 

 

 

1

 

0

1

 

1

Input

Output

11

Input

Input

 

 

 

 

 

 

 

 

 

 

 

1

 

1

0

 

0

Input

Input

12

Output

Output

 

 

 

 

 

 

 

 

 

 

 

1

 

1

0

 

1

Input

Input

13

Output

Input

 

 

 

 

 

 

 

 

 

 

 

1

 

1

1

 

0

Input

Input

14

Input

Output

 

 

 

 

 

 

 

 

 

 

 

1

 

1

1

 

1

Input

Input

15

Input

Input

 

 

 

 

 

 

 

 

 

 

 

5

Page 24
Image 24
Diamond Systems RUBY-MM-1612 user manual Operating Modes, Single Bit Set/Reset Feature Figure, Interrupt Control Functions

RUBY-MM-1612, 16-Channel 12-Bit Analog Output PC/104 Module specifications

The Diamond Systems RUBY-MM-1612 is a versatile 16-channel 12-bit analog output PC/104 module designed to meet the demanding needs of various applications requiring precise analog signal generation. This module excels in environments ranging from industrial automation to scientific research, providing users with reliable performance and high-quality output.

Key features of the RUBY-MM-1612 include its capability to deliver 16 independent analog output channels. Each of these channels supports a resolution of 12 bits, enabling the generation of finely detailed signals for a wide range of applications. The analog outputs are voltage scalable, allowing users to select various output ranges, which enhances the module's flexibility in different system configurations.

Another notable characteristic is the onboard architecture, which employs a specialized digital-to-analog converter (DAC) with excellent linearity and minimal noise, ensuring that the output signals are both accurate and stable. The DAC's specifications allow for output signals with a maximum voltage range of ±10V, providing ample headroom for many applications.

In terms of connectivity, the module utilizes the PC/104 standard, known for its ruggedness and compact form factor. This design allows for easy integration into systems, making it ideal for space-constrained environments. The RUBY-MM-1612 features a robust interface that supports various protocols, ensuring compatibility with a wide array of PC/104 systems.

The module also includes a comprehensive set of support software tools, making it user-friendly for developers. The drivers and libraries provided for various programming environments simplify the process of integrating the module into existing systems, reducing development time and effort.

Additionally, the RUBY-MM-1612 is built for durability, with operational specifications that accommodate a wide temperature range. This reliability makes it suitable for outdoor installations and harsh conditions, where other systems may fail.

In summary, the Diamond Systems RUBY-MM-1612 is an advanced 16-channel 12-bit analog output PC/104 module that combines high performance with flexibility and ease of integration. Its robust features, modern technologies, and durability make it an excellent choice for engineers and developers looking for reliable solutions in analog signal generation. Whether in industrial control systems, data acquisition, or laboratory settings, the RUBY-MM-1612 stands out as a top-tier option for fulfilling complex analog output requirements.