Manual Number: 00431-024-14
Page 3-2
DIO24-P Manual
Control Register
The 8255 has several input/output modes and the user is directed to the 8255 data sheet, included
with this manual, for complete programming details. The following information will provide suf-
ficient information for the majority of users.
Before the 8255 can be used, it must be configured. Each of the 8-bit ports A, B, and C can be
selected as input or output ports and port C can also be selected as a control port. Note that the
8255 power-up default mode is with all ports configured for inputs and the chip can be used in that
mode, although it is a good practice to reconfigure the chip for this mode even if that is the one
you intend to use.
8255 Mode Definition Format
Modes of Operation
The 8255 offers 3 MODES of operation as set by bits 3, 6 and 7. Bit 3 sets the mode for port B and
bits 6 & 7 for port A. Port C has no independent modes. The modes are described below (Mode 1
and 2 descriptions are provided for information only):
MODE 0 - Basic Input/Output - This is the standard PCDIO mode
MODE 1 - Strobed Input/Output
MODE 2 - Bi-directional Bus
Mode 0
This functional configuration provides simple input and output operations for each of the three
ports. No handshaking is required, data is simply written to or read from a specified 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
Inputs are not latched
16 different Input/Output combinations are possible in this mode
Содержание DIO24-P
Страница 1: ...Model DIO24 P Product Manual MANUAL NUMBER 00431 024 14B...
Страница 3: ...Page iv This page intentionally left blank...
Страница 7: ...Page viii This page intentionally left blank...
Страница 27: ...Appendix B Pinout Drawing Manual Number 00431 024 14 Page B 1 Appendix B Pinout Drawing...