bt_mesh_atomic_set_bit_to() function
Atomically set a bit to a given value. Atomically set bit number @a bit of @a target to value @a val. The target may be a single atomic variable or an array of them.
Arguments
target
Address of atomic variable or array.
bit
Bit number (starting from 0).
val
true for 1, false for 0.
Return value
N/A
![]()
bt_mesh_atomic_set_bit_to(bt_mesh.flags, BLE_MESH_IVU_IN_PROGRESS,
bt_mesh_atomic_set_bit_to() is called by 6 functions and calls 2 functions:
![]()
bt_mesh_atomic_set_bit_to()
bt_mesh_atomic_set_bit_to():
![]()
bt_mesh_atomic_set_bit_to()