Programmable Peripheral Interface
* 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 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
- 16 different Input/Output configurations are possible in this Mode.
* MODE 1 - Strobed Input/Output. This functional configuration provides means for transferring I/O data to or from a specified port in conjunction with strobes or ?handshaking'' signals. In the mode 1, Port A and Port B use the lines on Port C, to generate or accept these ?handshaking'' signals. Mode 1 Basic functional Definitions:
- Two Groups (Group A and Group B).
- Each group contains one 8-bit data port and one 4-bit control/data port.
- The 8-bit data port can be either input or out-put Both inputs and outputs are latched.
- The 4-bit port is used for control and status of the 8-bit data port.
* MODE 2 - Strobed Bidirectional Bus I/O. This functional configuration provides means for communicating with a peripheral device or structure on a single 8-bit bus, both for transmitting and receiving data (bidirectional bus I/O). ?Handshaking'' signals are provided to maintain proper bus flow discipline in a similar manner to the MODE 1. Interrupt generation and enable/disable functions are also available. MODE 2 Basic Functional Definitions:
- Used in Group A only.
- One 8-bit, bi-directional bus port (Port A) and a 5-bit control port (Port C).
- The 5-bit control port (Port C) is used for control and status for the 8-bit, bi-directional bus port (Port A).
The functional configuration of the D8255 is programmed by the system software, so that normally no external logic is needed to interface peripheral devices or structures. The control word register can be both written and read, as it has been shown in the address decode table (please, see the pin descriptions).
查看 Programmable Peripheral Interface 详细介绍:
- 查看 Programmable Peripheral Interface 完整数据手册
- 联系 Programmable Peripheral Interface 供应商