nrf_gpio_cfg_sense_set(DT_GPIO_PIN(DT_NODELABEL(button0), gpios), NRF_GPIO_PIN_SENSE_LOW);
#define STRIKE_S_NODE DT_ALIAS(sw0)
#if DT_NODE_HAS_STATUS(STRIKE_S_NODE, okay)
#define STRIKE_SML DT_GPIO_LABEL(STRIKE_S_NODE, gpios)
#define STRIKE_SML_PIN DT_GPIO_PIN(STRIKE_S_NODE, gpios)
#define STRIKE_SML_FLAGS DT_GPIO_FLAGS(STRIKE_S_NODE, gpios)
#else
#error "Unsupported board: button0 devicetree alias is not defined"
#define STRIKE_S_NODE DT_INVALID_NODE
#define STRIKE_SML ""
#define STRIKE_SML_PIN 0
#define STRIKE_SML_FLAGS 0
#endif
const struct gpio_dt_spec sml_strike = GPIO_DT_SPEC_GET_OR(STRIKE_S_NODE, gpios,{0});
gpio_pin_configure_dt(&sml_strike, GPIO_INPUT);
gpio_pin_interrupt_configure_dt(&sml_strike,GPIO_INT_EDGE_TO_ACTIVE);
gpio_init_callback(&strike_sml_cb_data, sml_strike_detected, BIT(sml_strike.pin));
gpio_add_callback(sml_strike.port, &strike_sml_cb_data);nrf_gpio_cfg_sense_input(sml_strike.pin, NRF_GPIO_PIN_PULLUP, NRF_GPIO_PIN_SENSE_LOW);