Home
last modified time | relevance | path

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

/hal_nordic-3.6.0/nrfx/helpers/
Dnrfx_flag32_allocator.c58 nrfx_err_t nrfx_flag32_alloc(nrfx_atomic_t * p_mask, uint8_t *p_flag) in nrfx_flag32_alloc() argument
64 prev_mask = *p_mask; in nrfx_flag32_alloc()
75 } while (!NRFX_ATOMIC_CAS(p_mask, prev_mask, new_mask)); in nrfx_flag32_alloc()
82 nrfx_err_t nrfx_flag32_free(nrfx_atomic_t * p_mask, uint8_t flag) in nrfx_flag32_free() argument
86 if ((NRFX_BIT(flag) & *p_mask)) in nrfx_flag32_free()
92 prev_mask = *p_mask; in nrfx_flag32_free()
94 } while (!NRFX_ATOMIC_CAS(p_mask, prev_mask, new_mask)); in nrfx_flag32_free()
Dnrfx_flag32_allocator.h63 __STATIC_INLINE void nrfx_flag32_init(nrfx_atomic_t * p_mask, uint32_t init_mask) in nrfx_flag32_init() argument
65 *p_mask = init_mask; in nrfx_flag32_init()
97 nrfx_err_t nrfx_flag32_alloc(nrfx_atomic_t * p_mask, uint8_t * p_flag);
112 nrfx_err_t nrfx_flag32_free(nrfx_atomic_t * p_mask, uint8_t flag);
/hal_nordic-3.6.0/nrfx/drivers/include/
Dnrf_bitmask.h74 __STATIC_INLINE bool nrf_bitmask_bit_is_set(uint32_t bit, void const * p_mask) in nrf_bitmask_bit_is_set() argument
76 uint8_t const * p_mask8 = (uint8_t const *)p_mask; in nrf_bitmask_bit_is_set()
88 __STATIC_INLINE void nrf_bitmask_bit_set(uint32_t bit, void * p_mask) in nrf_bitmask_bit_set() argument
90 uint8_t * p_mask8 = (uint8_t *)p_mask; in nrf_bitmask_bit_set()
102 __STATIC_INLINE void nrf_bitmask_bit_clear(uint32_t bit, void * p_mask) in nrf_bitmask_bit_clear() argument
104 uint8_t * p_mask8 = (uint8_t *)p_mask; in nrf_bitmask_bit_clear()
Dnrfx_rtc.h277 uint32_t * p_mask);
331 uint32_t * p_mask) in nrfx_rtc_int_disable() argument
333 *p_mask = nrfy_rtc_int_enable_check(p_instance->p_reg, ~0uL); in nrfx_rtc_int_disable()