![]() |
nrfxlib API 3.3.99
|
| 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.
| [in] | p_scan | Pointer to the sCAN driver instance. |
| NRF_SCAN_SUCCESS | Controller powered down successfully. |
| NRF_SCAN_ERROR_INVALID_STATE | nrfx driver state is invalid. |