nrfxlib API 3.3.99
Loading...
Searching...
No Matches

◆ nrf_scan_disable()

nrf_scan_error_t nrf_scan_disable ( nrf_scan_t const * p_scan)

#include <softperipheral/sCAN/include/nrf_scan.h>

Explicitly power down the controller.

This function will abort any ongoing operations by calling nrf_scan_abort Optional: Call after a series of operations to save power.

Parameters
[in]p_scanPointer to the sCAN driver instance.
Return values
NRF_SCAN_SUCCESSController powered down successfully.
NRF_SCAN_ERROR_INVALID_STATEnrfx driver state is invalid.