CMSIS + 0/1 examples
CodeScope will show references to ATOMIC_SET_BIT from the following samples and libraries:
 
Symbols
loading...
Files
loading...

ATOMIC_SET_BIT macro

Syntax

#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

LocationText
stm32f4xx.h:229
#define ATOMIC_SET_BIT(REG, BIT) \