Cwn driver sys pwr control

Prototype:

Related Constants:

Description
Used to shut off or restart the device, as well as enable or disable the watchdog timer (the timer responsible for shutting off the LCD screen due to inactivity).

When this func is invoked with an argument, CWN_VAL_PWR_SYS_DOWN or CWN_VAL_PWR_REBOOT, it never goes back to the native application of O2PMP directly. The reason is that it CAN NOT guarantee that a user program release all allocated memories when it is closed. Therefore a reboot or power-off is needed to release the memories safely. And it keeps the native application of O2PMP stable working.