37 #ifndef CONF_BOARD_SPI_ATWINC_WIFI 40 #ifndef CONF_BOARD_SPI_UINS 104 bool bothButtonsDown = cfgButtonDown && logButtonDown;
105 static bool cfgButtonDownLast = cfgButtonDown;
106 static bool logButtonDownLast = logButtonDown;
107 static bool bothButtonsDownLast = bothButtonsDown;
109 if(cfgButtonDownLast != cfgButtonDown)
111 cfgButtonDownLast = cfgButtonDown;
126 if(logButtonDownLast != logButtonDown)
128 logButtonDownLast = logButtonDown;
143 if(bothButtonsDownLast != bothButtonsDown)
145 bothButtonsDownLast = bothButtonsDown;
static void on_both_buttons_release()
static void on_log_button_pressed()
static void on_cfg_button_pressed()
void board_IO_config(void)
uint32_t flash_write_needed
void step_user_interface()
static bool ioport_get_pin_level(ioport_pin_t pin)
Get current value of an IOPORT pin, which has been configured as an input.
static void on_cfg_button_release()
void com_bridge_apply_preset(evb_flash_cfg_t *cfg)
#define INS_RESET_PIN_PIN
static void on_log_button_release()
void refresh_CFG_LED(void)
static void on_both_buttons_pressed()
static bool s_ignoreCfgButtonRelease
static bool s_ignoreLogButtonRelease
#define ioport_set_pin_input_mode(pin, mode, sense)
Set input mode for one single IOPORT pin. It will configure port mode and disable pin mode (but enabl...
evb_flash_cfg_t * g_flashCfg
uint32_t flash_write_enable
void enable_logger(bool enable)
#define ioport_set_pin_output_mode(pin, level)
Autogenerated API include file for the Atmel Software Framework (ASF)
nvr_manage_t g_nvr_manage_config