Draw a block diagram of a circuit that will interface two interrupts, INT0 and INT1, to the INT input of a CPU so that INT1 has the higher priority and INT0 has the lower. In other words, a signal on INT1 is to be able to interrupt the CPU even when the CPU is currently handling an interrupt generated by INT0, but not vice versa.

What will be an ideal response?


Analysis:

There are two types of interrupts: non-maskable, and maskable. When a logic signal is applied to a maskable interrupt input (INT1 in this case), the microprocessor is immediately interrupted. When a logic signal is applied to a maskable input (INT0 in this case), the microprocessor is interrupted only if that particular input is enabled. Maskable interrupts are disabled or enabled under program control.

Trades & Technology

You might also like to view...

Straight and step are two types of ____.

a. scaffolding b. stools c. ladders d. hammers

Trades & Technology

The temperature of the fresh food compartment of a domestic refrigerator is ____.

A. 20-35°F B. 50-60°F C. 30-50°F D. 35-40°F

Trades & Technology

The three plane dimensioning system used for datum referencing is called ____.

A. a partial surface datum B. a coplanar surface datum C. a datum axis D. feature control frame E. none of the above

Trades & Technology

Which of the following best describes how power line carrier (PLC) multiplexing takes place from a trailer to a tractor?

A. blue auxiliary terminal in a 7-wire trailer connector is dedicated to data bus transactions B. data is radio frequency (RF) superimposed over the auxiliary hardwire C. data is pulse width modulated (PWM) from trailer to tractor data bus D. data is pulse width modulated (PWM) from tractor to trailer data bus

Trades & Technology