Classification of Ports

"Programmable Port" 

This port is also an integrated circuit in which function of a
port can be changed with the help of a program. One port can be used
as an input port at one time. The same port can be used as an output
port at other time by giving some command to this port. Also each port
can be utilized in different modes with the help of software. Each
programmable port must have a CONTROL REGISTER. The function of
control register is to hold the necessary command word for the
operation of the port .


The programmable ports also have STATUS
REGISTER to read the status of different ports in the chip. For
example IC8255 is having three 8-bit programmable ports.
"Non - Programmable Port "
This port operates as input port or as output port for the whole
life. The function of this port cannot be changed with the help of a
program. For example a tristate Buffer always works as an input port
and a latch always works as an output port. Intel IC 8212 is a non -
programmable input - output port. That IC can be connected to work as
an input port or as an output port. But ones it is connected it the
circuit us function cannot be changed by user.

No comments:

Post a Comment