Edge AI Add-on API 2.2.0
Loading...
Searching...
No Matches

◆ BIT_IS_SET

#define BIT_IS_SET ( value,
pos )
Value:
(BIT_ONE(pos) & (value) != 0)
#define BIT_ONE(pos)
Creates a bit mask from one unit among the remaining zeros (for example 00..00000010).
Definition nrf_edgeai_macro.h:33

Checks that bit is set.

Parameters
valueValue that for test bit.
posPosition number of the bit.
Returns
True if this bit is set, else in otherwise.