Defines

projects/nrfgo_sdk/gazell_configuration_tool/buttons.h File Reference

Go to the source code of this file.

Defines

#define BUTTONS   P2
#define JS_DEBOUNCE   150
#define BUTTONS_DEBOUNCE_SLOW   170
#define BUTTON_HOLD_THRESHOLD   (1200 / BUTTONS_DEBOUNCE_SLOW)
#define BUTTONS_DEBOUNCE_FAST   1
#define DELAY_SHORT_MESSAGE   600
#define MAIN_MENU_DEC   (1 << 0)
#define MAIN_MENU_INC   (1 << 1)
#define SUB_MENU_DEC   (1 << 2)
#define SUB_MENU_INC   (1 << 3)
#define VALUE_DEC   (1 << 4)
#define VALUE_INC   (1 << 5)
#define CLEAR_STATISTICS   (1 << 6)
#define RUN_STOP   (1 << 7)

Detailed Description

Button definitions for the GazellGo development tool.

Definition in file buttons.h.


Define Documentation

#define BUTTONS   P2

Definition at line 24 of file buttons.h.

#define JS_DEBOUNCE   150

Definition at line 25 of file buttons.h.

#define BUTTONS_DEBOUNCE_SLOW   170

Definition at line 26 of file buttons.h.

#define BUTTON_HOLD_THRESHOLD   (1200 / BUTTONS_DEBOUNCE_SLOW)

Definition at line 27 of file buttons.h.

#define BUTTONS_DEBOUNCE_FAST   1

Definition at line 28 of file buttons.h.

#define DELAY_SHORT_MESSAGE   600

Definition at line 29 of file buttons.h.

#define MAIN_MENU_DEC   (1 << 0)

Definition at line 31 of file buttons.h.

#define MAIN_MENU_INC   (1 << 1)

Definition at line 32 of file buttons.h.

#define SUB_MENU_DEC   (1 << 2)

Definition at line 33 of file buttons.h.

#define SUB_MENU_INC   (1 << 3)

Definition at line 34 of file buttons.h.

#define VALUE_DEC   (1 << 4)

Definition at line 35 of file buttons.h.

#define VALUE_INC   (1 << 5)

Definition at line 36 of file buttons.h.

#define CLEAR_STATISTICS   (1 << 6)

Definition at line 37 of file buttons.h.

#define RUN_STOP   (1 << 7)

Definition at line 38 of file buttons.h.