Home
last modified time | relevance | path

Searched refs:mutex (Results 1 – 1 of 1) sorted by relevance

/hal_nordic-3.6.0/nrfx/hal/
Dnrf_mutex.h66 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() argument
82 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() argument
87 p_reg->MUTEX[mutex] = MUTEX_MUTEX_MUTEX_Unlocked; in nrf_mutex_unlock()