Searched refs:mutex (Results 1 – 1 of 1) sorted by relevance
66 NRF_STATIC_INLINE bool nrf_mutex_lock(NRF_MUTEX_Type * p_reg, uint8_t mutex);76 NRF_STATIC_INLINE void nrf_mutex_unlock(NRF_MUTEX_Type * p_reg, uint8_t mutex);80 NRF_STATIC_INLINE bool nrf_mutex_lock(NRF_MUTEX_Type * p_reg, uint8_t mutex) in nrf_mutex_lock() argument82 return (p_reg->MUTEX[mutex] == MUTEX_MUTEX_MUTEX_Unlocked); in nrf_mutex_lock()85 NRF_STATIC_INLINE void nrf_mutex_unlock(NRF_MUTEX_Type * p_reg, uint8_t mutex) in nrf_mutex_unlock() argument87 p_reg->MUTEX[mutex] = MUTEX_MUTEX_MUTEX_Unlocked; in nrf_mutex_unlock()