![]() |
nrfxlib API 3.3.99
|
| 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
| [in] | p_scan | Pointer to the sCAN driver instance. |
| [in] | p_mode | Pointer to the sCAN driver mode configuration. |
| NRF_SCAN_SUCCESS | Controller mode configured successfully. |
| NRF_SCAN_ERROR_INVALID_STATE | nrfx driver state is invalid. |
| NRF_SCAN_ERROR_INVALID_PARAM | sCAN mode configuration contains an invalid parameter. |