Zephyr API Documentation  3.7.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
atomic.h File Reference

Go to the source code of this file.

Functions

static ALWAYS_INLINE atomic_val_t atomic_swap (const atomic_t *target, atomic_val_t newval)
 Copyright (c) 2024 NextSilicon SPDX-License-Identifier: Apache-2.0.
 
static ALWAYS_INLINE atomic_val_t atomic_max (atomic_t *target, atomic_val_t value)
 
static ALWAYS_INLINE atomic_val_t atomic_min (atomic_t *target, atomic_val_t value)
 
static ALWAYS_INLINE unsigned long atomic_maxu (unsigned long *target, unsigned long value)
 
static ALWAYS_INLINE unsigned long atomic_minu (unsigned long *target, unsigned long value)
 

Function Documentation

◆ atomic_max()

static ALWAYS_INLINE atomic_val_t atomic_max ( atomic_t target,
atomic_val_t  value 
)
static

◆ atomic_maxu()

static ALWAYS_INLINE unsigned long atomic_maxu ( unsigned long *  target,
unsigned long  value 
)
static

◆ atomic_min()

static ALWAYS_INLINE atomic_val_t atomic_min ( atomic_t target,
atomic_val_t  value 
)
static

◆ atomic_minu()

static ALWAYS_INLINE unsigned long atomic_minu ( unsigned long *  target,
unsigned long  value 
)
static

◆ atomic_swap()

static ALWAYS_INLINE atomic_val_t atomic_swap ( const atomic_t target,
atomic_val_t  newval 
)
static

Copyright (c) 2024 NextSilicon SPDX-License-Identifier: Apache-2.0.