UNIT 7 IO Interfacing
UNIT 7 IO Interfacing
I/O Interfacing
Outline:
Interfacing Concepts, Ports,
Interrupts In 8085,
Types of I/O :
Interrupts in 8085
An Interrupt is a process where an external device can get the attention of the
microprocessor.
The process starts from the I/O device
The process is asynchronous.
An interrupt is considered to be an emergency signal that may be serviced.
The Microprocessor may respond to it as soon as possible.
When the Microprocessor receives an interrupt signal, it suspends the currently
executing program and jumps to an Interrupt Service Routine (ISR) to respond to the
incoming interrupt.
Each interrupt will most probably have its own ISR.
Responding to an interrupt may be immediate or delayed depending on whether the
interrupt is maskable or non-maskable.
Interrupts are the signals generated by the external devices to request the
microprocessor to perform a task.
1. TRAP
2. RST 7.5
3. RST 6.5
4. RST 5.5
5. INTR
Classification of Interrupts
Programmable Peripheral
Interface 8255A
The 8255A is a general purpose programmable, parallel I/O device.
It is designed to transfer the data from simple I/O to interrupt I/O under certain
conditions as required.
It consists of three 8-bit bidirectional I/O ports (24 I/O lines) which can be
configured as per the requirement.
Control Logic : It has two pins: INT as output and INTA as input. The
3. Priority Resolver
Priority Resolver : This logic block determines the priorities of the bit set in
IRR. IR0 is having highest priority, IR7 is having lowest priority.
Interrupt Mask Register : It stores bits which mask the interrupt lines to be
masked. IMR operates on the IRR. Masking of high priority input will not affect
the interrupt request lines.
THANK YOU