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

◆ nrf_scan_mode()

nrf_scan_error_t nrf_scan_mode ( nrf_scan_t const * p_scan,
nrf_scan_mode_type_t * p_mode )

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

Configure sCAN mode.

This function configures mode of operation for sCAN

Parameters
[in]p_scanPointer to the sCAN driver instance.
[in]p_modePointer to the sCAN driver mode configuration.
Return values
NRF_SCAN_SUCCESSController mode configured successfully.
NRF_SCAN_ERROR_INVALID_STATEnrfx driver state is invalid.
NRF_SCAN_ERROR_INVALID_PARAMsCAN mode configuration contains an invalid parameter.