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

◆ nrf_scan_timing()

nrf_scan_error_t nrf_scan_timing ( nrf_scan_t const * p_scan,
nrf_scan_timing_t const * p_timing )

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

Configure sCAN timing.

This function configures timing parameters for sCAN

Parameters
[in]p_scanPointer to the sCAN driver instance.
[in]p_timingPointer to the sCAN driver timing configuration structure.
Note
This function must be called after sCAN is in STOPPED state:
From a cold start, if this function is called after nrf_can_enable, sCAN will immediately start operation with no RX filter
Return values
NRF_SCAN_SUCCESSController timing configured successfully.
NRF_SCAN_ERROR_INVALID_STATEnrfx driver state is invalid.
NRF_SCAN_ERROR_INVALID_PARAMsCAN timing configuration contains an invalid parameter.