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

◆ nrf_scan_unlock_rx_mailbox()

nrf_scan_error_t nrf_scan_unlock_rx_mailbox ( nrf_scan_t const * p_scan,
uint8_t index )

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

Unlock sCAN RX mailbox[index].

Note
This function should be called when the data at RX mailbox[index] has been processed and sCAN can overwrite it with new data. The data stored in the mailbox will also be cleared
Parameters
[in]p_scanPointer to the sCAN driver instance.
[in]indexIndex for m_scan_rx_mailbox.
Return values
NRF_SCAN_SUCCESSRX mailbox[index] unlocked successfully.
NRF_SCAN_ERROR_INVALID_STATEnrfx driver state is invalid.
NRF_SCAN_ERROR_INVALID_PARAMindex is an invalid parameter.