Macros | Functions | Variables
user_interface.cpp File Reference
#include <asf.h>
#include "globals.h"
#include "sd_card_logger.h"
#include "communications.h"
#include "user_interface.h"
Include dependency graph for user_interface.cpp:

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
 

Macro Definition Documentation

◆ BUTTON_DEBOUNCE_TIME_MS

#define BUTTON_DEBOUNCE_TIME_MS   100

Definition at line 103 of file user_interface.cpp.

Function Documentation

◆ evbUiButtonCallbacks()

void evbUiButtonCallbacks ( VoidFuncPtrVoid  fpCfgButtonPressed,
VoidFuncPtrVoid  fpCfgButtonRelease,
VoidFuncPtrVoid  fpLogButtonPressed,
VoidFuncPtrVoid  fpLogButtonRelease,
VoidFuncPtrVoid  fpBothButtonsPressed,
VoidFuncPtrVoid  fpBothButtonsRelease 
)

Definition at line 221 of file user_interface.cpp.

◆ evbUiDefaults()

void evbUiDefaults ( )

Definition at line 208 of file user_interface.cpp.

◆ evbUiLedCallbacks()

void evbUiLedCallbacks ( VoidFuncPtrVoid  fpLedCfg,
VoidFuncPtrVoid  fpLedLog 
)

Definition at line 234 of file user_interface.cpp.

◆ evbUiRefreshLedCfg()

void evbUiRefreshLedCfg ( )

Definition at line 240 of file user_interface.cpp.

◆ evbUiRefreshLedLog()

void evbUiRefreshLedLog ( )

Definition at line 245 of file user_interface.cpp.

◆ logger_ready()

bool logger_ready ( )

Definition at line 30 of file user_interface.cpp.

◆ on_both_buttons_pressed()

static void on_both_buttons_pressed ( )
static

Definition at line 91 of file user_interface.cpp.

◆ on_both_buttons_release()

static void on_both_buttons_release ( )
static

Definition at line 96 of file user_interface.cpp.

◆ on_cfg_button_pressed()

static void on_cfg_button_pressed ( )
static

Definition at line 36 of file user_interface.cpp.

◆ on_cfg_button_release()

static void on_cfg_button_release ( )
static

Definition at line 42 of file user_interface.cpp.

◆ on_log_button_pressed()

static void on_log_button_pressed ( )
static

Definition at line 71 of file user_interface.cpp.

◆ on_log_button_release()

static void on_log_button_release ( )
static

Definition at line 77 of file user_interface.cpp.

◆ step_user_interface()

void step_user_interface ( uint32_t  time_ms)

Definition at line 104 of file user_interface.cpp.

Variable Documentation

◆ s_funcPtrBothButtonsPressed

VoidFuncPtrVoid s_funcPtrBothButtonsPressed = NULL
static

Definition at line 24 of file user_interface.cpp.

◆ s_funcPtrBothButtonsRelease

VoidFuncPtrVoid s_funcPtrBothButtonsRelease = NULL
static

Definition at line 25 of file user_interface.cpp.

◆ s_funcPtrCfgButtonPressed

VoidFuncPtrVoid s_funcPtrCfgButtonPressed = NULL
static

Definition at line 20 of file user_interface.cpp.

◆ s_funcPtrCfgButtonRelease

VoidFuncPtrVoid s_funcPtrCfgButtonRelease = NULL
static

Definition at line 21 of file user_interface.cpp.

◆ s_funcPtrLogButtonPressed

VoidFuncPtrVoid s_funcPtrLogButtonPressed = NULL
static

Definition at line 22 of file user_interface.cpp.

◆ s_funcPtrLogButtonRelease

VoidFuncPtrVoid s_funcPtrLogButtonRelease = NULL
static

Definition at line 23 of file user_interface.cpp.

◆ s_funcPtrRefreshLedCfg

VoidFuncPtrVoid s_funcPtrRefreshLedCfg = NULL
static

Definition at line 27 of file user_interface.cpp.

◆ s_funcPtrRefreshLedLog

VoidFuncPtrVoid s_funcPtrRefreshLedLog = NULL
static

Definition at line 28 of file user_interface.cpp.



inertial_sense_ros
Author(s):
autogenerated on Sun Feb 28 2021 03:18:00