defines.h¶
// SPDX-License-Identifier: MIT
-
ELOS_PLUGINCONTROL_FLAG_PULL_BIT(__f, __b)¶
[source] Atomic clear bit and test bit. Is ‘true’ when the given bit went from 1 to 0 during the operation
- Parameters:
__f – Pointer to a safuFlags_t field
__b – The bit to be cleared and tested.
- Returns:
true when the given bit went from 1 to 0 during the operation
false when the given bit did not change
-
ELOS_PLUGINCONTROL_FLAG_PUSH_BIT(__f, __b)¶
[source] Atomic set bit and test bit. Returns ‘true’ when the given bit went from 0 to 1 during the operation.
- Parameters:
__f – Pointer to a safuFlags_t field
__b – The bit to be set and tested.
- Returns:
true when the given bit went from 0 to 1 during the operation.
false when the given bit did not change