
Chapter 3
Programming Details
Page 17
Blue Chip Technology Ltd.
01270193.doc
Page 17
Mode 1 enables the transfer of data to or from a specified 8 bit port (A or B) in
conjunction with strobes or handshaking signals on port C. These handshaking
signals may be used to drive interrupt channels if required.
In Mode 2, data is transferred via one bi-directional 8 bit port (A) with
handshaking (port C). These handshaking signals may be used to drive
interrupt channels if required. In this mode port B is not available.
Refer to the i8255 or μPD71055 data sheet for full details of the settings and use
of Modes 1 and 2.
i8254 / μPD71054 Counter / Timer
The counter/timer circuit contains three independent 16-bit counters which may
be operated in a variety of modes. There are five basic modes of operation with
each mode providing a different output signal. Presented here is a brief
summary of some of the modes possible by programming the counter / timer’s
internal registers. Refer to the i8254 or μPD71054 data sheet for full details of
the settings and use of the counter / timer.
All three counter/timers may be operated independently, with separate clocks.
The clock inputs of two counter/timers may also be made accessible on the back
panel connector. See the Counter Control Register table for the available clock
inputs.
Counter 0, Counter 1 and Counter 2 may also be connected in series. Counter 0
output linked to Counter 1 clock input and/or Counter 1 output linked to
Counter 2 clock input, to allow the generation of very long delay periods.
The outputs from any counter/timer may be configured to generate an interrupt.
Counter / Timer Modes
The following modes of operation exist by programming the control register
within the i8254 / μPD71054.