AWS IoT Device SDK C: Platform
Platform portability layer
Return to main page ↑
Atomic_XOR_u32

Performs an atomic bitwise XOR of the given values.

static inline uint32_t Atomic_XOR_u32( uint32_t volatile * pOperand,
uint32_t mask )
Parameters
[in,out]pOperandPointer to operand and where the result is stored.
[in]maskMask to XOR with the operand.
Returns
The initial value at pOperand.