| ??? 03/03/03 12:08 Read: times |
#40539 - exiting Interrupts in Pascal |
hey,
i'm trying to program a PC keyboard on my 80C54 uC in pascal. i've connected the PC keyboard to an interrupt port 1. in my interrupt routine i made some loops for waiting on clockpulses. for preventing that my programm doesn't keep i a loop, i made a counter. if this counter exceed the value 500 then the interrupt routine must be exit. but i read that using the "exit" procedure in an interrupt make my program unpredictable. the way i made those loops, looks like this: t:=0; repeat inc(t); if t=500 then exit; until p1.2; does someone know how to exit an interrupt procedure in pascal thanks in advance |
| Topic | Author | Date |
| exiting Interrupts in Pascal | 01/01/70 00:00 | |
| RE: exiting Interrupts in Pascal | 01/01/70 00:00 | |
| RE: exiting Interrupts in Pascal | 01/01/70 00:00 | |
| RE: exiting Interrupts in Pascal | 01/01/70 00:00 | |
| RE: exiting Interrupts in Pascal | 01/01/70 00:00 | |
| RE: exiting Interrupts in Pascal | 01/01/70 00:00 | |
RE: exiting Interrupts in Pascal | 01/01/70 00:00 |



