2 #include "dev/button-sensor.h"
20 configure(
int type,
int value)
32 value, configure, status);
const struct sensors_sensor button_sensor
Copyright (c) 2014, Analog Devices, Inc.
static int value(int type, nrf_drv_gpiote_pin_t pin)
Return current state of a button.