8253 Programmable Timer/Counter क्या है? | General Purpose Peripheral Device in Hindi


8253 Programmable Timer/Counter क्या होता है?

Intel 8253 एक General Purpose Programmable Interval Timer/Counter है जिसे माइक्रोप्रोसेसर आधारित systems में time delays, event counting, और frequency generation के लिए use किया जाता है।

यह तीन independent 16-bit counters/timers के साथ आता है जो अलग-अलग modes में operate कर सकते हैं।


8253 के मुख्य Features

  1. 3 independent 16-bit down counters
  2. Programmable modes (6 modes)
  3. Binary या BCD counting
  4. Compatibility with 8085 और 8086 microprocessors
  5. Wide range of applications – delay generation, waveform shaping, frequency counting

Pin Diagram और Pin Description

  • CS (Chip Select): 8253 को activate करता है
  • RD/WR: Data read/write के लिए
  • A0, A1: Counter selection
  • CLK0, CLK1, CLK2: Clock input for counters
  • OUT0, OUT1, OUT2: Output pins
  • GATE0, GATE1, GATE2: Control inputs

8253 के Operating Modes

8253 कुल 6 modes को support करता है:
  1. Mode 0 – Interrupt on Terminal Count
  2. Mode 1 – Hardware Retriggerable One-shot
  3. Mode 2 – Rate Generator
  4. Mode 3 – Square Wave Generator
  5. Mode 4 – Software Triggered Strobe
  6. Mode 5 – Hardware Triggered Strobe

Control Word Format

8253 का configuration एक 8-bit control word के माध्यम से किया जाता है जिसमें mode select, counter select, और read/write operations define होते हैं।

BitsFunction
D7-D6Select Counter (00 - Counter 0, 01 - Counter 1, 10 - Counter 2)
D5-D4Read/Write Control (Latch/LSB/MSB/Both)
D3-D1Mode Selection (000 to 101)
D0BCD/Binary Counting

Applications of 8253

  1. Real-time clock generation
  2. Baud rate generation
  3. Event counters
  4. Programmable delay generation
  5. Pulse width modulation (PWM)

निष्कर्ष (Conclusion)

8253 Timer/Counter एक versatile peripheral है जो microprocessor-based applications में timing और counting से जुड़ी सभी ज़रूरतों को fulfill करता है। इसकी multi-mode capability और तीनों counters इसे embedded और real-time systems के लिए उपयुक्त बनाती है।

Related Post

Comments

Comments