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

◆ button_handler_t

typedef void(* button_handler_t) (uint32_t button_state, uint32_t has_changed)

#include <include/dk_buttons_and_leds.h>

Callback that is executed when a button state change is detected.

Parameters
button_stateBitmask of button states.
has_changedBitmask that shows which buttons have changed.