| nRF5 SDK v12.0.0 |

Choose documentation: | nRF5 SDK | S130 SoftDevice API | S132 SoftDevice API | S212 SoftDevice API | S332 SoftDevice API

All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
Mapped flags

The mapped flags module provides functions for working with flags that are associated with keys. These flags are represented by a bitmap of flags of the same type, called a flag collection, and a list of keys. A key's index in the key list determines which bit in the flag collection is associated with it.

For example, this module is used by the Connection state module to read, write, and query connection states. In this case, each flag collection contains instances of one kind of connection state for all connections, and the connection handles serve as keys.

The API for this module is available here: Mapped flags