| ??? 09/16/02 12:14 Read: times |
#29213 - RE: Thread |
hi andi;
you can set a flag for both interrupts.in your main program check for them and take action. e.g. int0_isr: setb x ;do critical part. reti int1_isr: setb y ;do critical part reti main: jbc x,int0_process jbc y,int1_process sjmp main int0_process: int1_process: if you feel that there can be more than one interrupts of same kind while you are busy processing other then instead use a counter that increments in isr and decrements in main code. pranav |
| Topic | Author | Date |
| Thread | 01/01/70 00:00 | |
| RE: Thread | 01/01/70 00:00 | |
| RE: Thread | 01/01/70 00:00 | |
| RE: Thread | 01/01/70 00:00 | |
| RE: Thread | 01/01/70 00:00 | |
RE: Thread | 01/01/70 00:00 |



