13.07.2015 Views

ISA Bus Servo I/O Card Hardware Manual

ISA Bus Servo I/O Card Hardware Manual

ISA Bus Servo I/O Card Hardware Manual

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>ISA</strong> <strong>Servo</strong> <strong>Hardware</strong> <strong>Manual</strong>5.1.5 Register MIO.0-23 Digital I/O Mode Control Register 1This register is accessed from offset 0x06 in the high page for writes only.A. Mode Control CommandThe bit configuration shown here sets the general I/O mode. Other modes are available, butwould normally not be used for isolated I/O. For more information refer to the 82C55 data sheet.| 1 | 0 | 0 | A | CH | 0 | B | CL |where:A = For port A, B = For port B, CH = Upper 4 bits of port C, CL = Lower 4 bits of port C.writing a 1 = Input, and a 0 = OutputFor example, if the word: 10010001 were written to this address, then port A would be configured as aninput port, port B as an output port, the upper 4 bits of port C would be outputs, and the lower 4 bits ofport C would be inputs.B. Bit Set/Reset CommandThe following bit configuration, when written to this address, can be used to set individual bits inport C if those bits are configured as outputs.| 0 | 0 | 0 | 0 | B2 | B1 | B0 | Set |where:B2, B1, B0 = binary code of bit number in port C to modifySet = 1 to set or 0 to resetThis command may be used as a convenience to set bits in port C.Copyright 1995. 1996 <strong>Servo</strong> To Go, Inc. 16

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!