| ??? 12/03/07 11:51 Read: times |
#147776 - Pause MCU |
I came across a situation where one has to pause the mCU and than check the outputs and resume from the same location.The code which i think is
A pause switch is connected to INTO pin of 89c51 to generate edge triggred interrupt.It is push to on switch normally on 5V and when pressed it connected to GND.
org 0003h
pause: JB p3.2,over
ajmp pause
over: RETI ;resume the code
Is there any other better way to pause the MCU and than resume it. |
| Topic | Author | Date |
| Pause MCU | 01/01/70 00:00 | |
| The usual way? | 01/01/70 00:00 | |
| standby mode ? | 01/01/70 00:00 | |
| Standby | 01/01/70 00:00 | |
| I am working on AT89C51. | 01/01/70 00:00 | |
| But what are you actually trying to achieve? | 01/01/70 00:00 | |
| Light focus adjustment | 01/01/70 00:00 | |
| Pause | 01/01/70 00:00 | |
| you will get a 'cleaner' pause if you | 01/01/70 00:00 | |
RE:you will get a 'cleaner' pause if you | 01/01/70 00:00 | |
| all your code will do is stay in the ISR ... | 01/01/70 00:00 | |
| I did post the cause..? | 01/01/70 00:00 | |
| look at the 2 post times :) | 01/01/70 00:00 |



