Interrupts क्या होते हैं? Types, Working और Examples आसान भाषा में
Interrupts क्या होते हैं? Types, Working और Examples आसान भाषा में
Interrupt एक ऐसा signal होता है जो CPU को अचानक notify करता है कि कोई high-priority task perform करना है। इससे processor अपना current task रोक कर, नए interrupt को handle करता है और फिर वापस लौटता है।
🔹 Interrupt कैसे काम करता है?
- Interrupt आता है (External या Internal)
- Processor current instruction को pause करता है
- ISR (Interrupt Service Routine) execute होती है
- Interrupt handle होने के बाद processor वापस main program पर लौटता है
🔸 Types of Interrupts
- Hardware Interrupt: जब कोई external device जैसे keyboard या timer interrupt generate करता है।
- Software Interrupt: जब program के अंदर से interrupt call किया जाता है (जैसे INT instruction)।
- Maskable Interrupt: जिसे disable (mask) किया जा सकता है।
- Non-maskable Interrupt: जिसे disable नहीं किया जा सकता (जैसे emergency conditions)।
- Vectored Interrupt: जिसका fixed address होता है जहां ISR होता है।
- Non-vectored Interrupt: जिसका address manually assign करना पड़ता है।
🔍 Example:
मान लीजिए आप कोई text टाइप कर रहे हैं और अचानक keyboard से key press होता है। यह CPU के लिए एक hardware interrupt है। CPU तुरंत उस key press को process करता है और फिर वापस typing process पर लौटता है।
📌 Importance of Interrupts
- Real-time processing में मदद
- CPU का efficient use
- Multiple tasks एक साथ handle करने की क्षमता
📘 निष्कर्ष
Interrupts embedded systems और microprocessor-based systems का integral हिस्सा हैं। इनके बिना efficient task handling संभव नहीं है। हर प्रकार का interrupt अपने खास उद्देश्य के लिए होता है।
Related Post
- Advanced Microprocessor की प्रमुख विशेषताएँ | Salient Features in Hindi
- RISC और CISC Processors क्या होते हैं? | सरल हिंदी में समझें अंतर
- Advanced Microprocessors का विकास: 8086 से Pentium तक | Evolution in Hindi
- 8086 Microprocessor का परिचय | Introduction in Hindi
- 8086 Microprocessor का Register Organization | हिंदी में विस्तार से
- 8086 Microprocessor की Architecture | Block Diagram के साथ हिंदी में समझें
- 8086 Microprocessor के Signals का विवरण | हिंदी में समझें
- 8086 Microprocessor Minimum & Maximum Mode और Timing Diagram | हिंदी में
- Intel 8086 Microprocessor Programming | Structure, Modes और Example
- 8086 Instruction Set in Hindi | Types और Examples के साथ
- 8086 Microprocessor Addressing Modes | हिंदी में समझें
- Assembly Language Programming with Intel 8086 Microprocessor | हिंदी में समझें
- 8155, 8255 Interfacing Chips का परिचय | Advanced Microprocessor in Hindi
- Keyboard Interfacing in Microprocessor | माइक्रोप्रोसेसर में कीबोर्ड इंटरफेसिंग कैसे करें?
- LED (Light Emitting Diode) क्या है? कार्य, संरचना और उपयोग | हिंदी में
- ADC (Analog to Digital Converter) क्या है? कार्य, प्रकार और उपयोग | हिंदी में
- DAC और Memory Interfacing क्या है? | Advanced Microprocessor हिंदी में
- 8253 Programmable Timer/Counter क्या है? | General Purpose Peripheral Device in Hindi
- 8254 Programmable Interval Timer क्या है? | Pin Diagram, Modes और Application हिंदी में
- 8259A Programmable Interrupt Controller और 8257 DMA Controller क्या है? | हिंदी में सरल व्याख्या
- USART 8251A क्या है? | Universal Synchronous/Asynchronous Receiver Transmitter in Hindi
- Serial I/O और Data Communication क्या है? | हिंदी में सरल समझ
- 8051 Microcontroller Architecture और इसके मुख्य भाग
- 8051 Microcontroller के Pin Description पूरी जानकारी हिंदी में
- 8051 Microcontroller की I/O Configuration पूरी जानकारी हिंदी में
- Interrupts क्या होते हैं? Types, Working और Examples आसान भाषा में
- 8051 के Addressing Modes का प्रकार और उपयोग आसान भाषा में समझें
- 8051 Instruction Set का Overview और Classification हिंदी में
- Embedded System के Types और Applications आसान भाषा में समझें
- Embedded Systems में Microcontrollers का Use और महत्व हिंदी में