24 #ifndef _WATCH_EXTINT_H_INCLUDED
25 #define _WATCH_EXTINT_H_INCLUDED
29 #include "hal_ext_irq.h"
45 INTERRUPT_TRIGGER_NONE = 0,
46 INTERRUPT_TRIGGER_RISING,
47 INTERRUPT_TRIGGER_FALLING,
48 INTERRUPT_TRIGGER_BOTH,
79 __attribute__((deprecated(
"Use watch_register_interrupt_callback or watch_register_extwake_callback instead")))
80 void watch_register_button_callback(const uint8_t pin, ext_irq_cb_t callback);
83 void watch_enable_buttons(
void);