Metal Detector
 
Loading...
Searching...
No Matches
ui.h
Go to the documentation of this file.
1
13#ifndef _METALDETECTOR_UI_H
14#define _METALDETECTOR_UI_H
15
16#include "lvgl.h"
17
19#define TIME_DOMAIN_CHART_LEN 100
20
22#define FREQ_DOMAIN_CHART_LEN 256
23
25#define TIME_DOMAIN_MAX_VALUE 4095
26
28#define FREQ_DOMAIN_MAX_VALUE 1000
29
38
41/* LVGL object declarations */
42extern lv_obj_t * ui_Main;
43extern lv_obj_t * ui_Tab;
44extern lv_obj_t * ui_MainTab_;
45extern lv_obj_t * ui_PhaseMainPanel;
46extern lv_obj_t * ui_PhaseArc;
47extern lv_obj_t * ui_PhaseDecorSircle;
48extern lv_obj_t * ui_PhaseLabel;
49extern lv_obj_t * ui_DepthPanel;
50extern lv_obj_t * ui_DepthBar;
51extern lv_obj_t * ui_DepthLabel;
52extern lv_obj_t * ui_SettingsTab_;
53extern lv_obj_t * ui_GndBalancePanel;
54extern lv_obj_t * ui_GndBalanceConf;
55extern lv_obj_t * ui_GndBalanceLabel;
56extern lv_obj_t * ui_GndBalanceButton;
57extern lv_obj_t * ui_GndBalanceBtnLabel;
58extern lv_obj_t * ui_GndBalanceVal;
59extern lv_obj_t * ui_SensPanel;
60extern lv_obj_t * ui_SensConf_;
61extern lv_obj_t * ui_SensLabel;
62extern lv_obj_t * ui_SenseVal;
63extern lv_obj_t * ui_ChartDomainDropdown;
64extern lv_obj_t * ui_ChartTab_;
65extern lv_obj_t * ui_Chart;
66extern lv_obj_t * ui_Chart_Xaxis;
67extern lv_obj_t * ui_Chart_Yaxis1;
68extern lv_obj_t * ui_Chart_Yaxis2;
69extern lv_chart_series_t * ui_Chart_series_1;
70extern lv_chart_series_t * ui_Chart_series_2;
71extern lv_obj_t * ui____initial_actions0;
72
76void ui_init(void);
77
78#endif /* _METALDETECTOR_UI_H */
79
80
81
lv_obj_t * ui_PhaseDecorSircle
Definition ui.c:22
UI_ChartDomains_t
Enumeration for chart domains.
Definition ui.h:34
@ CHART_TIME_DOMAIN
Definition ui.h:35
@ CHART_FREQ_DOMAIN
Definition ui.h:36
UI_ChartDomains_t ui_chart_domain
Definition ui.c:49
lv_obj_t * ui_ChartTab_
Definition ui.c:39
lv_obj_t * ui_SettingsTab_
Definition ui.c:27
lv_obj_t * ui_SensConf_
Definition ui.c:35
lv_obj_t * ui_Main
Definition ui.c:17
lv_obj_t * ui_PhaseLabel
Definition ui.c:23
void ui_init(void)
Initialize the user interface.
Definition ui.c:66
lv_obj_t * ui____initial_actions0
Definition ui.c:46
lv_obj_t * ui_SenseVal
Definition ui.c:37
lv_obj_t * ui_SensLabel
Definition ui.c:36
lv_obj_t * ui_GndBalanceLabel
Definition ui.c:30
lv_obj_t * ui_GndBalanceBtnLabel
Definition ui.c:32
lv_obj_t * ui_GndBalanceButton
Definition ui.c:31
lv_chart_series_t * ui_Chart_series_1
Definition ui.c:44
lv_obj_t * ui_PhaseArc
Definition ui.c:21
lv_obj_t * ui_DepthPanel
Definition ui.c:24
lv_obj_t * ui_Chart_Xaxis
Definition ui.c:41
lv_obj_t * ui_Chart_Yaxis2
Definition ui.c:43
lv_obj_t * ui_MainTab_
Definition ui.c:19
lv_obj_t * ui_PhaseMainPanel
Definition ui.c:20
lv_obj_t * ui_DepthLabel
Definition ui.c:26
lv_obj_t * ui_GndBalancePanel
Definition ui.c:28
lv_obj_t * ui_Chart_Yaxis1
Definition ui.c:42
lv_obj_t * ui_GndBalanceVal
Definition ui.c:33
lv_chart_series_t * ui_Chart_series_2
Definition ui.c:45
lv_obj_t * ui_Tab
Definition ui.c:18
lv_obj_t * ui_Chart
Definition ui.c:40
lv_obj_t * ui_GndBalanceConf
Definition ui.c:29
lv_obj_t * ui_ChartDomainDropdown
Definition ui.c:38
lv_obj_t * ui_SensPanel
Definition ui.c:34
lv_obj_t * ui_DepthBar
Definition ui.c:25