Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of nrf51-sdk by
sdk_mapped_flags.h File Reference
Go to the source code of this file.
Data Structures | |
struct | sdk_mapped_flags_key_list_t |
Type used to present a subset of the registered keys. More... | |
Typedefs | |
typedef uint8_t | sdk_mapped_flags_t |
The bitmap to hold flags. | |
Functions | |
uint16_t | sdk_mapped_flags_first_key_index_get (sdk_mapped_flags_t flags) |
Function for getting the first index at which the flag is true in the provided collection. | |
void | sdk_mapped_flags_update_by_key (uint16_t *p_keys, sdk_mapped_flags_t *p_flags, uint16_t key, bool value) |
Function for updating the state of a flag. | |
void | sdk_mapped_flags_bulk_update_by_key (uint16_t *p_keys, sdk_mapped_flags_t *p_flags, uint32_t n_flag_collections, uint16_t key, bool value) |
Function for updating the state of the same flag in multiple flag collections. | |
bool | sdk_mapped_flags_get_by_key (uint16_t *p_keys, sdk_mapped_flags_t flags, uint16_t key) |
Function for getting the state of a specific flag. | |
sdk_mapped_flags_key_list_t | sdk_mapped_flags_key_list_get (uint16_t *p_keys, sdk_mapped_flags_t flags) |
Function for getting a list of all keys that have a specific flag set to true. | |
uint32_t | sdk_mapped_flags_n_flags_set (sdk_mapped_flags_t flags) |
Function for getting the number of keys that have a specific flag set to true. | |
static __INLINE bool | sdk_mapped_flags_any_set (sdk_mapped_flags_t flags) |
Function for querying whether any flags in the collection are set. |
Detailed Description
Definition in file sdk_mapped_flags.h.
Generated on Tue Jul 12 2022 14:11:21 by
