10.1.6 Set Sleep Mode Function

This function provides a mechanism to control the Sleep mode capability in order to minimize the power consumption of the PL360 device.
void atpl360_set_sleep(bool sleep);

Parameters:

sleepTrue to enable Sleep mode, False to disable.

Note that while being in Sleep mode, the core and peripherals of PL360 are reset; therefore, all the other PLC capabilities are not available.