nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches

◆ module_flags_test_bit()

static bool module_flags_test_bit ( const struct module_flags mf,
size_t  module_idx 
)
inlinestatic

#include <include/caf/events/module_state_event.h>

Test single module bit.

Parameters
[in]mfPointer to module flags variable.
[in]module_idxThe index of the selected module.
Return values
trueThe module bit in flags is set.
falseThe module bit in flags is cleared.