S145 SoftDevice for nRF54L15/nRF54L10/nRF54L05 API documentation 10.0.0
Loading...
Searching...
No Matches

◆ sd_power_pof_enable()

uint32_t sd_power_pof_enable ( uint8_t pof_enable)

#include <nrf_soc.h>

Enables or disables the power-fail comparator.

Enabling this will give a SoftDevice event (NRF_EVT_POWER_FAILURE_WARNING) when the power failure warning occurs. The event can be retrieved with sd_evt_get();

Parameters
[in]pof_enableTrue if the power-fail comparator should be enabled, false if it should be disabled.
Return values
NRF_SUCCESS