nRF Connect SDK API
2.8.99
Loading...
Searching...
No Matches
◆
button_pressed()
int button_pressed
(
gpio_pin_t
button_pin
,
bool *
button_pressed
)
Check button state.
Parameters
[in]
button_pin
Button pin
[out]
button_pressed
Button state. True if currently pressed, false otherwise
Returns
0 if success, an error code otherwise.
applications
nrf5340_audio
src
modules
button_handler.h
Generated on Thu Nov 7 2024 16:00:51 for nRF Connect SDK API by
1.12.0