Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

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.

  • No labels