Department of Computer Scien
ce and Information Engineering
National Cheng Kung University, TAIWAN
HANEL
OTHER MODES OF THE 82558255 in Mode 1:
I/O With Handshaking
Capability
(cont
’)
¾INTEa (interrupt enable for port A)
The 8255 can disable INTRa to prevent it if from interrupting the CPUIt is internal flip-plop designed to mask INTRaIt can be set or reset through port C in BSR mode since the INTEa flip-flop is controlled through PC6INTEb is controlled by PC2 in BSR mode
¾Status word
8255 enables monitoring of the status of signals INTR, OBF, and INTE for both ports A and BThis is done by reading port C into accumulator and testing the bitsThis feature allows the implementation of polling instead of a hardware interrupt