I am using the latest CCS and using for the Tiva123GH6M Launchpad. I wish to know if there is a method we can use to retain variable after a soft reset of the MCU.
I use the following line to RESET the MCU.
HWREG(NVIC_APINT) = NVIC_APINT_VECTKEY | NVIC_APINT_SYSRESETREQ
Thank you.