Settings loader module

Use the settings loader module to trigger loading the data from non-volatile memory. The Settings loader module is enabled for every nRF Desktop device with Zephyr’s Settings enabled.

Module events

Source Module

Input Event

This Module

Output Event

Sink Module

Source modules for module_state_event

module_state_event

settings_loader

module_state_event

Sink modules for module_state_event

Note

See the Overview: Firmware architecture for more information about the event-based communication in the nRF Desktop application and about how to read this table.

Implementation details

nRF Desktop uses the Settings loader module from Common Application Framework (CAF). See the CAF Settings loader module page for implementation details.

Tip

Enabling CONFIG_CAF_SETTINGS_LOADER_USE_THREAD is recommended for keyboard reference design (nRF52832 Desktop Keyboard). The CAF: Buttons module uses the system workqueue to scan the keyboard matrix. Loading the settings in the system workqueue context could block the workqueue and result in missing key presses on system reboot.