nRF5 SDK v17.1.0
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


Documentation feedback | Developer Zone | Subscribe | Updated