Sets the appropriate bits in a value according to a specified bit mask.
Files
lib_def.h
Prototype
Arguments
val
Value to modify by setting the specified bits.
mask
Mask of bits to set in the value.
Returned Value
Modified value with specified bits set.
Required Configuration
None.
Notes / Warnings
val
and mask
should be unsigned integers.