![]() |
nrfxlib API 3.3.99
|
| nrf_scan_error_t nrf_scan_set_rx_filter | ( | nrf_scan_t const * | p_scan, |
| nrf_scan_rx_filter_t const * | p_rxfilter, | ||
| uint8_t | index ) |
#include <softperipheral/sCAN/include/nrf_scan.h>
Configure a sCAN RX filter.
This function configures a filter for RX mailbox[index]
| [in] | p_scan | Pointer to the sCAN driver instance. |
| [in] | p_rxfilter | Pointer to the RX filter to apply for mailbox[index]. |
| [in] | index | Index for m_scan_rx_mailbox. |
| NRF_SCAN_SUCCESS | RX filter for mailbox[index] configured successfully. |
| NRF_SCAN_ERROR_INVALID_STATE | nrfx driver state is invalid. |
| NRF_SCAN_ERROR_INVALID_PARAM | index is an invalid parameter. |