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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
03/17/05 07:24
Read: times


 
#89850 - code confusion
Responding to: ???'s previous message
To all:
sorry for confusing all. I used the external interrupt only once.
once it interrupts and starts the pulse generation routine, the exernal
interrupt is masked, not used again. remaining thinks done in pulse generation
routine.

To EriK:
i have tested the code as suggested by you. for this i cleared the P1.4 pin initially,
once the external interrupt occurs, the P1.4 is SET.
after executing the program, i connected the GND pin to the P3.3(INT1) pin,at that
moment the interrupt occurs.(H to L occurs)
so the problem with the function generator is, it starts from zero only, so while
connecting the function generator to the pin itself makes the interrupt(as it is low)
i am working with circuit which give High intially and goes Low after sometime, so it
could give the interrupt. later i post the result.

To Mehdi:
thanks for your suggestion to use interrupt flag instead R1 flag.
i have given answers above for your 2 questions


List of 19 messages in thread
TopicAuthorDate
external interupt problem            01/01/70 00:00      
   grounding or noise            01/01/70 00:00      
      initially connected high            01/01/70 00:00      
         Triggered signal generator            01/01/70 00:00      
   Re:external interupt problem            01/01/70 00:00      
      USED CODE            01/01/70 00:00      
         Goobldeygook            01/01/70 00:00      
         formatted code            01/01/70 00:00      
            Formatted ???            01/01/70 00:00      
               only interrupt routine            01/01/70 00:00      
            questions            01/01/70 00:00      
            description            01/01/70 00:00      
               that was my problem            01/01/70 00:00      
                  without interrupt            01/01/70 00:00      
                     OK what happens            01/01/70 00:00      
                     timer?            01/01/70 00:00      
                        source of confoosion            01/01/70 00:00      
         To Vijayganesh!            01/01/70 00:00      
            code confusion            01/01/70 00:00      

Back to Subject List