pub unsafe fn sd_power_pof_enable(pof_enable: u8) -> u32
Expand description

@brief 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();

@param[in] pof_enable True if the power-fail comparator should be enabled, false if it should be disabled.

@retval ::NRF_SUCCESS