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

Performs an atomic addition of the given values.

static inline uint32_t Atomic_Add_u32( uint32_t volatile * pAugend,
uint32_t addend )
Parameters
[in,out]pAugendPointer to the augend and where the sum is stored.
[in]addendValue to add to the augend.
Returns
The initial value at pAugend.