Lines Matching full:value
137 * @brief When set to a non-zero value, this macro specifies that
159 * @brief Macro for storing a value to an atomic object and returning its previous value.
162 * @param[in] value Value to store.
164 * @return Previous value of the atomic object.
166 #define NRFX_ATOMIC_FETCH_STORE(p_data, value) atomic_set(p_data, value) argument
169 …rief Macro for running a bitwise OR operation on an atomic object and returning its previous value.
172 * @param[in] value Value of the second operand in the OR operation.
174 * @return Previous value of the atomic object.
176 #define NRFX_ATOMIC_FETCH_OR(p_data, value) atomic_or(p_data, value) argument
180 * and returning its previous value.
183 * @param[in] value Value of the second operand in the AND operation.
185 * @return Previous value of the atomic object.
187 #define NRFX_ATOMIC_FETCH_AND(p_data, value) atomic_and(p_data, value) argument
191 * and returning its previous value.
194 * @param[in] value Value of the second operand in the XOR operation.
196 * @return Previous value of the atomic object.
198 #define NRFX_ATOMIC_FETCH_XOR(p_data, value) atomic_xor(p_data, value) argument
202 * and returning its previous value.
205 * @param[in] value Value of the second operand in the ADD operation.
207 * @return Previous value of the atomic object.
209 #define NRFX_ATOMIC_FETCH_ADD(p_data, value) atomic_add(p_data, value) argument
213 * and returning its previous value.
216 * @param[in] value Value of the second operand in the SUB operation.
218 * @return Previous value of the atomic object.
220 #define NRFX_ATOMIC_FETCH_SUB(p_data, value) atomic_sub(p_data, value) argument
225 * Value is updated to the new value only if it previously equaled old value.
228 * @param[in] old_value Expected old value.
229 * @param[in] new_value New value.
231 * @retval true If value was updated.
232 * @retval false If value was not updated because location was not equal to @p old_value.
240 * @param[in] value A word value.
242 * @return Number of leading 0-bits in @p value, starting at the most significant bit position.
245 #define NRFX_CLZ(value) __builtin_clz(value) argument
250 * @param[in] value A word value.
252 * @return Number of trailing 0-bits in @p value, starting at the least significant bit position.
255 #define NRFX_CTZ(value) __builtin_ctz(value) argument
260 * @brief When set to a non-zero value, this macro specifies that the
270 * @brief When set to a non-zero value, this macro specifies that inside HALs