??? 05/23/06 13:09 Read: times |
#116918 - save capture before next capture Responding to: ???'s previous message |
ok let me try:
let's say an interrupt has arrived and the value of timer2 has been saved into CT01... org800Bh (Adress of Timer Interrupt SFR) mov r0,#30h ;30 moved into indirect adressable register0 mov @r0,CT0I ;capture copied to 30h reti but how to go on now? now i've to move the capture again away from 30h, because if the next capture arrives, 30h will be erased too... hmmm....have someone a better idea? greetings |