/
DEF_BIT_TOGGLE()
DEF_BIT_TOGGLE()
Toggles specified bit(s) in a value.
Files
lib_def.h
Prototype
DEF_BIT_TOGGLE(val, mask);
Arguments
val
Value to modify by toggling the specified bits.
mask
Mask of bits to toggle.
Returned Value
Modified value with specified bit(s) toggled.
Required Configuration
None.
Notes / Warnings
val
and mask
SHOULD be unsigned integers.
Related content
DEF_BIT_SET()
DEF_BIT_SET()
More like this
DEF_BIT_IS_SET()
DEF_BIT_IS_SET()
More like this
DEF_BIT_IS_SET_ANY()
DEF_BIT_IS_SET_ANY()
More like this
DEF_BIT_CLR()
DEF_BIT_CLR()
More like this
DEF_BITxx()
DEF_BITxx()
More like this
DEF_BIT_IS_CLR_ANY()
DEF_BIT_IS_CLR_ANY()
More like this