
403
SUMMARY
SUMMARY
Intel 8051 off ers 32 I/O lines which might be enhanced
by interfacing Intel 8255 PPI providing three additional
8-bit ports, namely A, B and C. Moreover three diff erent
programmable modes, available by sending appropriate
command word to 8255’s control register, allow greater
fl exibility to the system design engineers. These three
modes of 8255 are:
• Mode 0: Basic input/output mode,
• Mode 1: Strobed input/output mode, and
• Mode 2: Bidirectional bus mode.
In Mode 0, output is latched but input is not latched and
to be scanned by polling. In this mode port C is divided
in two 4-bit ports and each one may be individually pro- ...