CC1314R10: How did I get deep sleep?

Part Number: CC1314R10
Other Parts Discussed in Thread: SYSCONFIG

I am debugging a project unde CCS 12.8.1. I notice that my board suddenly stops and becomes unresponsive. If I stop it using the debugger || symbol, if is in the 

PRCMDeepSleep(void)
{
    // Enable deep-sleep.
    HWREG(NVIC_SYS_CTRL) |= NVIC_SYS_CTRL_SLEEPDEEP;

    // Wait for an interrupt.
    CPUwfi();

    // Disable deep-sleep so that a future sleep will work correctly.
    HWREG(NVIC_SYS_CTRL) &= ~(NVIC_SYS_CTRL_SLEEPDEEP);

}

procedure. I can continue from that point, leading to the suspicion that I have somehow enabled the deep sleep function. Where is that located and how do I turn it off? 

I have not enabled this function actively, the code location indicates interrupts are not coming through, and have several interrupts that I believe are running (or should be)

Regards,

Gullik

PS. I started asking this question in the e2e subgigahertz forum, but end up here in TI.COM. Why??