NimBLE-Arduino 2.1.2
|
Macros | |
#define | ATOMIC_INIT(i) (i) |
Initialize an atomic variable. | |
#define | ATOMIC_DEFINE(name, num_bits) atomic_t name[1 + ((num_bits) - 1) / ATOMIC_BITS] |
Define an array of atomic variables. | |
#define | ATOMIC_INIT(i) (i) |
Initialize an atomic variable. | |
#define | ATOMIC_DEFINE(name, num_bits) atomic_t name[1 + ((num_bits) - 1) / ATOMIC_BITS] |
Define an array of atomic variables. | |
#define ATOMIC_DEFINE | ( | name, | |
num_bits | |||
) | atomic_t name[1 + ((num_bits) - 1) / ATOMIC_BITS] |
Define an array of atomic variables.
This macro defines an array of atomic variables containing at least num_bits bits.
name | Name of array of atomic variables. |
num_bits | Number of bits needed. |
#define ATOMIC_DEFINE | ( | name, | |
num_bits | |||
) | atomic_t name[1 + ((num_bits) - 1) / ATOMIC_BITS] |
Define an array of atomic variables.
This macro defines an array of atomic variables containing at least num_bits bits.
name | Name of array of atomic variables. |
num_bits | Number of bits needed. |
#define ATOMIC_INIT | ( | i | ) | (i) |
Initialize an atomic variable.
This macro can be used to initialize an atomic variable. For example,
i | Value to assign to atomic variable. |
#define ATOMIC_INIT | ( | i | ) | (i) |
Initialize an atomic variable.
This macro can be used to initialize an atomic variable. For example,
i | Value to assign to atomic variable. |