#include <asf.h>
#include "globals.h"
#include "sd_card_logger.h"
#include "communications.h"
#include "user_interface.h"
Go to the source code of this file.
Macros | |
#define | BUTTON_DEBOUNCE_TIME_MS 100 |
Functions | |
void | evbUiButtonCallbacks (VoidFuncPtrVoid fpCfgButtonPressed, VoidFuncPtrVoid fpCfgButtonRelease, VoidFuncPtrVoid fpLogButtonPressed, VoidFuncPtrVoid fpLogButtonRelease, VoidFuncPtrVoid fpBothButtonsPressed, VoidFuncPtrVoid fpBothButtonsRelease) |
void | evbUiDefaults () |
void | evbUiLedCallbacks (VoidFuncPtrVoid fpLedCfg, VoidFuncPtrVoid fpLedLog) |
void | evbUiRefreshLedCfg () |
void | evbUiRefreshLedLog () |
bool | logger_ready () |
static void | on_both_buttons_pressed () |
static void | on_both_buttons_release () |
static void | on_cfg_button_pressed () |
static void | on_cfg_button_release () |
static void | on_log_button_pressed () |
static void | on_log_button_release () |
void | step_user_interface (uint32_t time_ms) |
Variables | |
static VoidFuncPtrVoid | s_funcPtrBothButtonsPressed = NULL |
static VoidFuncPtrVoid | s_funcPtrBothButtonsRelease = NULL |
static VoidFuncPtrVoid | s_funcPtrCfgButtonPressed = NULL |
static VoidFuncPtrVoid | s_funcPtrCfgButtonRelease = NULL |
static VoidFuncPtrVoid | s_funcPtrLogButtonPressed = NULL |
static VoidFuncPtrVoid | s_funcPtrLogButtonRelease = NULL |
static VoidFuncPtrVoid | s_funcPtrRefreshLedCfg = NULL |
static VoidFuncPtrVoid | s_funcPtrRefreshLedLog = NULL |
#define BUTTON_DEBOUNCE_TIME_MS 100 |
Definition at line 103 of file user_interface.cpp.
void evbUiButtonCallbacks | ( | VoidFuncPtrVoid | fpCfgButtonPressed, |
VoidFuncPtrVoid | fpCfgButtonRelease, | ||
VoidFuncPtrVoid | fpLogButtonPressed, | ||
VoidFuncPtrVoid | fpLogButtonRelease, | ||
VoidFuncPtrVoid | fpBothButtonsPressed, | ||
VoidFuncPtrVoid | fpBothButtonsRelease | ||
) |
Definition at line 221 of file user_interface.cpp.
void evbUiDefaults | ( | ) |
Definition at line 208 of file user_interface.cpp.
void evbUiLedCallbacks | ( | VoidFuncPtrVoid | fpLedCfg, |
VoidFuncPtrVoid | fpLedLog | ||
) |
Definition at line 234 of file user_interface.cpp.
void evbUiRefreshLedCfg | ( | ) |
Definition at line 240 of file user_interface.cpp.
void evbUiRefreshLedLog | ( | ) |
Definition at line 245 of file user_interface.cpp.
bool logger_ready | ( | ) |
Definition at line 30 of file user_interface.cpp.
|
static |
Definition at line 91 of file user_interface.cpp.
|
static |
Definition at line 96 of file user_interface.cpp.
|
static |
Definition at line 36 of file user_interface.cpp.
|
static |
Definition at line 42 of file user_interface.cpp.
|
static |
Definition at line 71 of file user_interface.cpp.
|
static |
Definition at line 77 of file user_interface.cpp.
void step_user_interface | ( | uint32_t | time_ms | ) |
Definition at line 104 of file user_interface.cpp.
|
static |
Definition at line 24 of file user_interface.cpp.
|
static |
Definition at line 25 of file user_interface.cpp.
|
static |
Definition at line 20 of file user_interface.cpp.
|
static |
Definition at line 21 of file user_interface.cpp.
|
static |
Definition at line 22 of file user_interface.cpp.
|
static |
Definition at line 23 of file user_interface.cpp.
|
static |
Definition at line 27 of file user_interface.cpp.
|
static |
Definition at line 28 of file user_interface.cpp.