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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
07/13/06 16:43
Modified:
  07/13/06 16:44

Read: times


 
#120208 - And then ?
Responding to: ???'s previous message
Eric Lugt said:

The wake up from INT1 will jump to MAIN_INT1:


As Father Erik intones, from the
Bible : Chapter 3 of the Book Of Intel

Idle Mode
An instruction that sets PCON.0 causes that to be the last
instruction executed before going into the Idle mode, the internal
clock signal is gated off to the CPU but not to the Interrupt, Timer,
and Serial Port functions. The CPU status is preserved in its
entirety; the Stack Pointer, Program Counter, Program Status Word,
Accumulator, and all other registers maintain their data during Idle.
The port pins hold the logical states they had at the time Idle was
activated. ALE and PSEN hold at logic high levels.

There are two ways to terminate the Idle. Activation of any enabled
interrupt will cause PCON.0 to be cleared by hardware, terminating
the Idle mode. The interrupt will be serviced, and following RETI, the
next instruction to be executed will be the one following the
instruction that put the device into Idle.



A short review of interrupt programming may be called for.

Steve


List of 15 messages in thread
TopicAuthorDate
at89s8253 wakes up only once from pwr down.            01/01/70 00:00      
   i tried            01/01/70 00:00      
      unformatted code            01/01/70 00:00      
         sure you can            01/01/70 00:00      
            ...formatted code            01/01/70 00:00      
               mismatch            01/01/70 00:00      
                  nothing else to do.            01/01/70 00:00      
                     you should exit the interrupt by reti..            01/01/70 00:00      
                     Why does everyone insist on doing things WITHOUT e            01/01/70 00:00      
                     And then ?            01/01/70 00:00      
                        all true, but ...            01/01/70 00:00      
               Additional input            01/01/70 00:00      
   Re: at89s8253 wakes up only once from pwr down.            01/01/70 00:00      
   Thanks, everything OK            01/01/70 00:00      
      but you did not do so            01/01/70 00:00      

Back to Subject List