![]() |
S145 SoftDevice for nRF54LS05 API documentation 10.0.0
|
| 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.
| [out] | p_evt_id | Set to one of the values in NRF_SOC_EVTS, if any events are pending. |
| NRF_SUCCESS | An event was pending. The event id is written in the p_evt_id parameter. |
| NRF_ERROR_NOT_FOUND | No pending events. |