CMSIS
+ 0/1 examples
CodeScope will show references to
ATOMIC_SET_BIT
from the following samples and libraries:
HAL
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
CodeScope
STM32 Libraries and Samples
CMSIS
ATOMIC_SET_BIT
ATOMIC_SET_BIT macro
Syntax
from
stm32f4xx.h:229
#define
ATOMIC_SET_BIT
(
REG
,
BIT
)
\
do
{
\
uint32_t
val
;
\
do
{
\
val
=
__LDREXW
(
(
__IO
uint32_t
*
)
&
(
REG
)
)
|
(
BIT
)
;
\
}
while
(
(
__STREXW
(
val
,
(
__IO
uint32_t
*
)
&
(
REG
)
)
)
!=
0U
)
;
\
}
while
(
0
)
Arguments
REG
BIT
Examples
ATOMIC_SET_BIT
is referenced by
1 libraries and example projects
.
References
Location
Text
stm32f4xx.h:229
#define
ATOMIC_SET_BIT
(
REG
,
BIT
)
\