Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors

How system resolve the priority of interrupt ?OR Explain polling and daisy chaining method.

Polling Method:

Imagine you’re in a classroom, and the teacher asks a question. Instead of everyone shouting out their answer at once, the teacher decides who gets to answer based on who raises their hand first. This is similar to how the polling method works for interrupts.

  1. Interrupt Priorities: Each device connected to the processor is given a priority. Just like in the classroom, some students might have higher priority based on certain rules.
  2. Deciding Which to Service: When multiple devices want attention (like students raising hands), the processor checks which one has the highest priority.
  3. Polling: The processor checks each device in a certain order to see if they need attention. The order might be based on how they’re connected.
  4. Automatic Priority: Priority is decided based on the order the devices are checked. So, if a device is checked first, it’s given higher priority.

Chaining Method:

Now, let’s imagine you’re playing a game of telephone with your friends. One person whispers a message to the next, and it goes down the line until it reaches the last person.

  1. Daisy Chain Connection: Devices are connected in a chain, like in the game of telephone. Each device is linked to the next in a sequence.
  2. Passing the Signal: When a device needs attention, it sends a signal down the chain.
  1. Serial Propagation: The signal moves from one device to the next, like whispers in the game of telephone.
  2. Blocking and Prioritizing: If a device needs attention, it blocks the chain and sends its request. So, the device closest to the processor gets the first chance to respond.

Leave a Comment