![]() |
nRF Connect SDK API 3.3.99
|
| void dk_button_handler_add | ( | struct button_handler * | handler | ) |
#include <include/dk_buttons_and_leds.h>
Add a dynamic button handler callback.
In addition to the button handler function passed to dk_buttons_init, any number of button handlers can be added and removed at runtime.
| [in] | handler | Handler structure. Must point to statically allocated memory. |