SlideShare a Scribd company logo
1 of 10
Download to read offline
By: Masud-ul-Hasan
Programmable Interval Timer
8253 (PIT)
COE305 Lab.
By: Masud-ul-Hasan
What is 8253?
• The Intel 8253 is a programmable counter/
timer chip designed for use as an Intel
microcomputer peripheral.
• It is packaged in a 24-pin plastic DIP.
• Six programmable timer modes allow the
8253 to be used as an event counter, elapsed
time indicator, programmable one-shot, and in
many other applications e.g., to create
different intervals.
• It has 3 counters:
– Counters 0, 1, 2
By: Masud-ul-Hasan
Block Diagram of 8253
•Each counter in the
block diagram has 3
lines connected to it.
Two of these lines,
clock and gate, are
inputs. The third,
labeled OUT is an
output.
•The function of these
lines changes and
depends on how the
device is initialized or
programmed.
By: Masud-ul-Hasan
Interpretation of the Timer Control Byte
• Bits 7,6: Counter Selection (00 to 10)
• Bits 5,4: Read/load mode for 2-byte count value:
00 -- latch count for reading
01 -- read/load high byte only
10 -- read/load low byte only
11 -- read/load low byte then high byte
• Bits 3,2,1: Count mode selection (000 to 101)
• Bit 0: 0/1- Count in binary/BCD
By: Masud-ul-Hasan
Modes of Operation of 8253
• There are 6 modes of operation of 8253
• Differences in modes are:
– “OUT” signal in different shapes like low-high or
high- low, periodic or non-periodic
– How to trigger/start the counter
• Mode 0 and 1 are same in shape (non-periodic)
• Mode 4 and 5 are same in shape (non-periodic)
• Mode 2 and 3 are almost same in shape
(periodic)
By: Masud-ul-Hasan
Modes of Operation of 8253
• Mode 0: Set Output Bit when timer done.
The output will start off zero. The count is
loaded and the timer will start to count down.
When the count has reached zero the output
will be set high, and remain high until the next
count has been reloaded.
• Mode 1: Programmable One-Shot. The
output will go low following the rising edge of
the gate input. The counter will count and the
output will go high once the counter has
reached zero.
By: Masud-ul-Hasan
Modes of Operation of 8253
• Mode 2: Rate Generator. The counter will
continually count down, when the count
reaches zero, the output will pulse low and
the counter will be reloaded.
• Mode 3: Square Wave Generator. This
mode is similar to Mode 2 except the output
remains low for half of the timer period and
high for the other half of the period.
By: Masud-ul-Hasan
Modes of Operation of 8253
• Mode 4: Software Triggered Pulse. The
output will remain high untill the timer has
counted to zero, at which point the output will
pulse low and then go high again.
• Mode 5: Hardware Triggered Pulse. The
counter will start counting once the gate input
goes high, when the counter reaches zero the
output will pulse low and then go high again.
By: Masud-ul-Hasan
• If 6 is loaded in the counter then it will start
count down from 6 0. After reaching 0,
change the OUT signal like from Lo Hi.
• First 2 MSBs select the counter. Addresses
for 3 counters in flight board’s 8253 are:
Modes of Operation of 8253
0EHWrite OnlyControl Word
0CHRead/WriteCounter 2
0AHRead/WriteCounter 1
08HRead/WriteCounter 0
Port AddressActivity AllowedRegister
By: Masud-ul-Hasan
Modes of Operation of 8253

More Related Content

What's hot

Stacks & subroutines 1
Stacks & subroutines 1Stacks & subroutines 1
Stacks & subroutines 1deval patel
 
Architecture of 8086 Microprocessor
Architecture of 8086 Microprocessor  Architecture of 8086 Microprocessor
Architecture of 8086 Microprocessor Mustapha Fatty
 
8259 Programmable Interrupt Controller
8259 Programmable Interrupt Controller8259 Programmable Interrupt Controller
8259 Programmable Interrupt Controllerabhikalmegh
 
8085 microprocessor ramesh gaonkar
8085 microprocessor   ramesh gaonkar8085 microprocessor   ramesh gaonkar
8085 microprocessor ramesh gaonkarSAQUIB AHMAD
 
Addressing modes of 8086
Addressing modes of 8086Addressing modes of 8086
Addressing modes of 8086Dr. AISHWARYA N
 
Memory & I/O interfacing
Memory & I/O  interfacingMemory & I/O  interfacing
Memory & I/O interfacingdeval patel
 
Register Organisation of 8086 Microprocessor
Register Organisation of 8086 MicroprocessorRegister Organisation of 8086 Microprocessor
Register Organisation of 8086 MicroprocessorNikhil Kumar
 
Counters & time delay
Counters & time delayCounters & time delay
Counters & time delayHemant Chetwani
 
8051 Microcontroller PPT's By Er. Swapnil Kaware
8051 Microcontroller PPT's By Er. Swapnil Kaware8051 Microcontroller PPT's By Er. Swapnil Kaware
8051 Microcontroller PPT's By Er. Swapnil KawareProf. Swapnil V. Kaware
 
Question paper with solution the 8051 microcontroller based embedded systems...
Question paper with solution  the 8051 microcontroller based embedded systems...Question paper with solution  the 8051 microcontroller based embedded systems...
Question paper with solution the 8051 microcontroller based embedded systems...manishpatel_79
 
Interrupt in real time system
Interrupt in real time system Interrupt in real time system
Interrupt in real time system ali jawad
 
Timing Diagram of MVI Instruction of 8085 Microprocessor
Timing Diagram of MVI Instruction of 8085 MicroprocessorTiming Diagram of MVI Instruction of 8085 Microprocessor
Timing Diagram of MVI Instruction of 8085 MicroprocessorDhrumil Panchal
 

What's hot (20)

Pin diagram 8085
Pin diagram 8085 Pin diagram 8085
Pin diagram 8085
 
Stacks & subroutines 1
Stacks & subroutines 1Stacks & subroutines 1
Stacks & subroutines 1
 
Programmable Timer 8253/8254
Programmable Timer 8253/8254Programmable Timer 8253/8254
Programmable Timer 8253/8254
 
Architecture of 8086 Microprocessor
Architecture of 8086 Microprocessor  Architecture of 8086 Microprocessor
Architecture of 8086 Microprocessor
 
8259 Programmable Interrupt Controller
8259 Programmable Interrupt Controller8259 Programmable Interrupt Controller
8259 Programmable Interrupt Controller
 
8085 microprocessor ramesh gaonkar
8085 microprocessor   ramesh gaonkar8085 microprocessor   ramesh gaonkar
8085 microprocessor ramesh gaonkar
 
Interfacing 8255
Interfacing 8255Interfacing 8255
Interfacing 8255
 
8085 instruction set
8085 instruction set8085 instruction set
8085 instruction set
 
Adc and dac
Adc and dacAdc and dac
Adc and dac
 
Addressing modes of 8086
Addressing modes of 8086Addressing modes of 8086
Addressing modes of 8086
 
Memory & I/O interfacing
Memory & I/O  interfacingMemory & I/O  interfacing
Memory & I/O interfacing
 
8086 micro processor
8086 micro processor8086 micro processor
8086 micro processor
 
Register Organisation of 8086 Microprocessor
Register Organisation of 8086 MicroprocessorRegister Organisation of 8086 Microprocessor
Register Organisation of 8086 Microprocessor
 
Counters & time delay
Counters & time delayCounters & time delay
Counters & time delay
 
8051 Microcontroller PPT's By Er. Swapnil Kaware
8051 Microcontroller PPT's By Er. Swapnil Kaware8051 Microcontroller PPT's By Er. Swapnil Kaware
8051 Microcontroller PPT's By Er. Swapnil Kaware
 
8051 timer counter
8051 timer counter8051 timer counter
8051 timer counter
 
Question paper with solution the 8051 microcontroller based embedded systems...
Question paper with solution  the 8051 microcontroller based embedded systems...Question paper with solution  the 8051 microcontroller based embedded systems...
Question paper with solution the 8051 microcontroller based embedded systems...
 
ARM Processors
ARM ProcessorsARM Processors
ARM Processors
 
Interrupt in real time system
Interrupt in real time system Interrupt in real time system
Interrupt in real time system
 
Timing Diagram of MVI Instruction of 8085 Microprocessor
Timing Diagram of MVI Instruction of 8085 MicroprocessorTiming Diagram of MVI Instruction of 8085 Microprocessor
Timing Diagram of MVI Instruction of 8085 Microprocessor
 

Viewers also liked

IC 8253 - Microprocessor
IC 8253 - Microprocessor IC 8253 - Microprocessor
IC 8253 - Microprocessor Vatsal N Shah
 
Report on sawtooth wave generator
Report on sawtooth wave generatorReport on sawtooth wave generator
Report on sawtooth wave generatorAmit kumar
 
Speed control of DC Machine
Speed control of DC MachineSpeed control of DC Machine
Speed control of DC MachineSHAHBAAZ AHMED
 
TO control the speed of DC Motor Simple Project
TO control the speed of DC Motor Simple ProjectTO control the speed of DC Motor Simple Project
TO control the speed of DC Motor Simple ProjectZunAib Ali
 

Viewers also liked (6)

IC 8253 - Microprocessor
IC 8253 - Microprocessor IC 8253 - Microprocessor
IC 8253 - Microprocessor
 
8253,8254
8253,8254 8253,8254
8253,8254
 
Report on sawtooth wave generator
Report on sawtooth wave generatorReport on sawtooth wave generator
Report on sawtooth wave generator
 
Speed control of DC Machine
Speed control of DC MachineSpeed control of DC Machine
Speed control of DC Machine
 
TO control the speed of DC Motor Simple Project
TO control the speed of DC Motor Simple ProjectTO control the speed of DC Motor Simple Project
TO control the speed of DC Motor Simple Project
 
555 Timer Ic
555 Timer Ic555 Timer Ic
555 Timer Ic
 

Similar to 8253ppt (20)

8254 Programmable Interval Timer by vijay
8254 Programmable Interval Timer by vijay8254 Programmable Interval Timer by vijay
8254 Programmable Interval Timer by vijay
 
5.programmable interval timer 8253
5.programmable interval timer 82535.programmable interval timer 8253
5.programmable interval timer 8253
 
unit 2 lect 6 AND 7 8254.pptx
unit 2 lect 6 AND 7 8254.pptxunit 2 lect 6 AND 7 8254.pptx
unit 2 lect 6 AND 7 8254.pptx
 
8254.pptx
8254.pptx8254.pptx
8254.pptx
 
Interfacing with Timer IC.pptx interfacing with timer ic
Interfacing with Timer IC.pptx interfacing with timer icInterfacing with Timer IC.pptx interfacing with timer ic
Interfacing with Timer IC.pptx interfacing with timer ic
 
8253
82538253
8253
 
8254 PIT
8254 PIT8254 PIT
8254 PIT
 
8254 timer - Microprocessor and interfacing
8254 timer - Microprocessor and interfacing8254 timer - Microprocessor and interfacing
8254 timer - Microprocessor and interfacing
 
Timer
TimerTimer
Timer
 
Microprocessor & Interfacing (Part-2) By Er. Swapnil V. Kaware
Microprocessor & Interfacing (Part-2) By Er. Swapnil V. KawareMicroprocessor & Interfacing (Part-2) By Er. Swapnil V. Kaware
Microprocessor & Interfacing (Part-2) By Er. Swapnil V. Kaware
 
3942936.ppt
3942936.ppt3942936.ppt
3942936.ppt
 
8254 presentation
8254 presentation8254 presentation
8254 presentation
 
8254 presentation
8254 presentation8254 presentation
8254 presentation
 
8254 presentation
8254 presentation8254 presentation
8254 presentation
 
Introduction to digital computer
Introduction to digital computerIntroduction to digital computer
Introduction to digital computer
 
Scada functions
Scada functionsScada functions
Scada functions
 
8255-PPI MPMC text book for engineering.ppt
8255-PPI MPMC text book for engineering.ppt8255-PPI MPMC text book for engineering.ppt
8255-PPI MPMC text book for engineering.ppt
 
8255.pdf
8255.pdf8255.pdf
8255.pdf
 
Chinmay pandya
Chinmay pandyaChinmay pandya
Chinmay pandya
 
MPMC
MPMC MPMC
MPMC
 

Recently uploaded

Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxBkGupta21
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxLoriGlavin3
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxLoriGlavin3
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxLoriGlavin3
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESmohitsingh558521
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 

Recently uploaded (20)

Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptx
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 

8253ppt

  • 1. By: Masud-ul-Hasan Programmable Interval Timer 8253 (PIT) COE305 Lab.
  • 2. By: Masud-ul-Hasan What is 8253? • The Intel 8253 is a programmable counter/ timer chip designed for use as an Intel microcomputer peripheral. • It is packaged in a 24-pin plastic DIP. • Six programmable timer modes allow the 8253 to be used as an event counter, elapsed time indicator, programmable one-shot, and in many other applications e.g., to create different intervals. • It has 3 counters: – Counters 0, 1, 2
  • 3. By: Masud-ul-Hasan Block Diagram of 8253 •Each counter in the block diagram has 3 lines connected to it. Two of these lines, clock and gate, are inputs. The third, labeled OUT is an output. •The function of these lines changes and depends on how the device is initialized or programmed.
  • 4. By: Masud-ul-Hasan Interpretation of the Timer Control Byte • Bits 7,6: Counter Selection (00 to 10) • Bits 5,4: Read/load mode for 2-byte count value: 00 -- latch count for reading 01 -- read/load high byte only 10 -- read/load low byte only 11 -- read/load low byte then high byte • Bits 3,2,1: Count mode selection (000 to 101) • Bit 0: 0/1- Count in binary/BCD
  • 5. By: Masud-ul-Hasan Modes of Operation of 8253 • There are 6 modes of operation of 8253 • Differences in modes are: – “OUT” signal in different shapes like low-high or high- low, periodic or non-periodic – How to trigger/start the counter • Mode 0 and 1 are same in shape (non-periodic) • Mode 4 and 5 are same in shape (non-periodic) • Mode 2 and 3 are almost same in shape (periodic)
  • 6. By: Masud-ul-Hasan Modes of Operation of 8253 • Mode 0: Set Output Bit when timer done. The output will start off zero. The count is loaded and the timer will start to count down. When the count has reached zero the output will be set high, and remain high until the next count has been reloaded. • Mode 1: Programmable One-Shot. The output will go low following the rising edge of the gate input. The counter will count and the output will go high once the counter has reached zero.
  • 7. By: Masud-ul-Hasan Modes of Operation of 8253 • Mode 2: Rate Generator. The counter will continually count down, when the count reaches zero, the output will pulse low and the counter will be reloaded. • Mode 3: Square Wave Generator. This mode is similar to Mode 2 except the output remains low for half of the timer period and high for the other half of the period.
  • 8. By: Masud-ul-Hasan Modes of Operation of 8253 • Mode 4: Software Triggered Pulse. The output will remain high untill the timer has counted to zero, at which point the output will pulse low and then go high again. • Mode 5: Hardware Triggered Pulse. The counter will start counting once the gate input goes high, when the counter reaches zero the output will pulse low and then go high again.
  • 9. By: Masud-ul-Hasan • If 6 is loaded in the counter then it will start count down from 6 0. After reaching 0, change the OUT signal like from Lo Hi. • First 2 MSBs select the counter. Addresses for 3 counters in flight board’s 8253 are: Modes of Operation of 8253 0EHWrite OnlyControl Word 0CHRead/WriteCounter 2 0AHRead/WriteCounter 1 08HRead/WriteCounter 0 Port AddressActivity AllowedRegister
  • 10. By: Masud-ul-Hasan Modes of Operation of 8253