(Yes - I have done a search for 'underclocking'
Help appreciated as I am very new to all this....
I am trying to 'underclock' a 28X2, just before 'sleep'
and 'back to normal' i.e. 8Mhz internal immediately after 'sleep
Is the following code correct for a 28X2?
pokesfr $D3,%00000000 ' = slow down to 31Khz
sleep 1
pokesfr $D3,%01100000 ' = 8 MHz; speed back up
If the above is OK, then I have another question - my software uses an interrupt - is it possible for the interrupt to take place before it has reverted back to full speed? If yes, is the solution to temporarily disable the interrupt?
Thanks very much!
Mik
Mik
Help appreciated as I am very new to all this....
I am trying to 'underclock' a 28X2, just before 'sleep'
and 'back to normal' i.e. 8Mhz internal immediately after 'sleep
Is the following code correct for a 28X2?
pokesfr $D3,%00000000 ' = slow down to 31Khz
sleep 1
pokesfr $D3,%01100000 ' = 8 MHz; speed back up
If the above is OK, then I have another question - my software uses an interrupt - is it possible for the interrupt to take place before it has reverted back to full speed? If yes, is the solution to temporarily disable the interrupt?
Thanks very much!
Mik
Mik