Is it possible to write GPREGRET when S210 is running? Writing directly to register causing HardFault.
Is it possible to write GPREGRET when S210 is running? Writing directly to register causing HardFault.
Hi,
Using the S210 stack, this is unfortunately not possible. There is no API call to get/set this register.
What are you trying to use this register for? If you power on the RAM while going into sleep, you can retain your variables when awoken.
BR Håkon
Hi,
Using the S210 stack, this is unfortunately not possible. There is no API call to get/set this register.
What are you trying to use this register for? If you power on the RAM while going into sleep, you can retain your variables when awoken.
BR Håkon