S145 SoftDevice for nRF54L15/nRF54L10/nRF54L05 API documentation 10.0.0
Loading...
Searching...
No Matches

◆ sd_evt_get()

uint32_t sd_evt_get ( uint32_t * p_evt_id)

#include <nrf_soc.h>

Gets any pending events generated by the SoC API.

The application should keep calling this function to get events, until NRF_ERROR_NOT_FOUND is returned.

Parameters
[out]p_evt_idSet to one of the values in NRF_SOC_EVTS, if any events are pending.
Return values
NRF_SUCCESSAn event was pending. The event id is written in the p_evt_id parameter.
NRF_ERROR_NOT_FOUNDNo pending events.