Click here to Skip to main content
15,896,063 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a homework (assembly with Intel 8088) : "Measure pulse-width using external interrupt".
I don't understand "pulse-width". You can explain me this concept.
Posted

1 solution

The pulse width is the length of time between the rising edge of a signal, and the corresponding falling edge (or vice versa):
     __________
____|          |______
    ^          ^
    Rising     Falling
    <--------->
    Pulse width
You need to use an interrupt to detect the rising edge change, start a timer of some kind, and stop it on the falling edge detect interrupt.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900