16.3.11 Sleep Mode Operation
The NVMCTRL will enter sleep mode if the system is in sleep and there are no more ongoing write/erase operations.
If an NVM write/erase operation is ongoing when the system enters a sleep mode, the Flash memory block, NVMCTRL, and the peripheral clock will remain ON until the operation is finished and will automatically turn off once the operation has completes, which is valid for all sleep modes, including Power-Down.
The NVM Ready interrupt will wake the device only from Idle sleep mode.