Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
03/26/07 20:10
Read: times


 
#135931 - intx pin both for interrupt & timerx control
Hi all;

I'm new here and not new but not much experienced with 8051 hardware. I want to measure the pulse width of a TV remote control pulse. As the topics implies I want to use one of the external interrupt pins both for starting and stopping of the timer it corresponds and to generate an external interrupt it corresponds.
The idea is that when the input signal goes high the timer will start as the int pin also will go high and when the signal goes low the timer will stop also generating a falling edge triggered interrupt so the ISR will save the timer registers. I haven't seen that method mentioned anywhere so I guess that's not possible as I think I can't use the intx pins both for the timerx control and interrupt generation at the same time! Anybody have any ideas? Thnx for your time!

Regards...


List of 6 messages in thread
TopicAuthorDate
intx pin both for interrupt & timerx control            01/01/70 00:00      
   Use the timer 2 gating function            01/01/70 00:00      
   its correct            01/01/70 00:00      
   May need to also measure other level...            01/01/70 00:00      
      dual level detect            01/01/70 00:00      
      I tried it on a real 2051!            01/01/70 00:00      

Back to Subject List