nRF Connect SDK API
0.1.0
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 Sep 26 2024 10:53:16 for nRF Connect SDK API by
1.9.6