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

◆ module_flags_set_bit_to()

static void module_flags_set_bit_to ( struct module_flags mf,
size_t  module_idx,
bool  val 
)
inlinestatic

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

Set single module bit to specified value.

Parameters
[in,out]mfPointer to module flags variable.
[in]module_idxThe index of the selected module.
[in]valThe value to be set in a specified module's bit.