LEDs module

The LEDs module is responsible for controlling LEDs in response to the LED effect set by a led_event. The source of events could be any other module.

Module events

Source Module

Input Event

This Module

Output Event

Sink Module

HID state module

led_event

leds

LED state module

LED stream module

Source modules for module_state_event

module_state_event

Power manager module

power_down_event

Bluetooth LE advertising module

wake_up_event

Buttons module

HID forward module

Motion module

Power manager module

Wheel module

led_ready_event

LED stream module

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 LEDs module from Common Application Framework (CAF). See the CAF LEDs module page for implementation details.