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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
11/17/00 07:14
Read: times


 
#6576 - RE: External - 0 interrupt ??
Hi Simon,

yes, the flag was cleared on entering the interrupt.
But if you get a 2. transition during this interrupt, it was set again and cleared only by the next interrupt or you must clear it before RETI.

Seems, your ring signal differ from this in Germany.
If you get only 2 pulses your solution works.
If I get all 25 periods of the 25Hz signal in Germany my solution works.

Nevertheless I suggest to use a timer to detect, if the ring was finished. So you can reset the ring counter to be ready for the next call.


Peter


List of 15 messages in thread
TopicAuthorDate
External - 0 interrupt ??            01/01/70 00:00      
RE: External - 0 interrupt ??            01/01/70 00:00      
RE: External - 0 interrupt ??            01/01/70 00:00      
RE: External - 0 interrupt ??            01/01/70 00:00      
RE: External - 0 interrupt ??            01/01/70 00:00      
RE: External - 0 interrupt ??            01/01/70 00:00      
RE: External - 0 interrupt ??            01/01/70 00:00      
RE: External - 0 interrupt ??            01/01/70 00:00      
RE: External - 0 interrupt ??            01/01/70 00:00      
RE: External - 0 interrupt ??            01/01/70 00:00      
RE: External - 0 interrupt ??            01/01/70 00:00      
RE: External - 0 interrupt ??            01/01/70 00:00      
RE: External - 0 interrupt ??            01/01/70 00:00      
RE: External - 0 interrupt ??            01/01/70 00:00      
RE: External - 0 interrupt ??            01/01/70 00:00      

Back to Subject List