Function nrf_softdevice_s113::sd_mutex_acquire
source · pub unsafe fn sd_mutex_acquire(p_mutex: *mut nrf_mutex_t) -> u32
Expand description
@brief Attempt to acquire a mutex.
@param[in] p_mutex Pointer to the mutex to acquire.
@retval ::NRF_SUCCESS The mutex was successfully acquired. @retval ::NRF_ERROR_SOC_MUTEX_ALREADY_TAKEN The mutex could not be acquired.