This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Stack Pointer and Program Counter for PRCMLPDSRestoreInfoSet

Hello,

I am testing some different power modes for an application. While i get how sleep and hibernate are working i can't figure out how to properly use the LPDS-mode

I can set a wakeUp source via Interrupt, enter LPDS and wake up at my reset-Vector. But how do I correctly  use the

PRCMLPDSRestoreInfoSet- Function

to wakeUp at the Point in code where(after) I went to sleep? How can I get the address of the stack Pointer and the the value of my Program Counter to parametrize the function?

Kind regards

-SZ