Raspberry Pi Weighting Control System
This project serves as a simple weighting control system, that was realized as a Bachelor Thesis
Classes | Enumerations
app_workspace_ns Namespace Reference

This namespace holds structures and enums used in app_workspace class. More...

Classes

struct  kb_input_state
 Structure holding the values of keyboard input mode and input type. More...
 
struct  spi_config
 Structure holding SPI device and SPI config which is a library structure "spi_config_t". More...
 
struct  hx711_config
 Structure hodling the configuration of hx711 controller. More...
 

Enumerations

enum  kb_input_mode { NAVIGATION , INPUT }
 Enum holding options of keyboard input mode. More...
 
enum  kb_input_type { NONE , INT , FLOAT , TEXT }
 Enum holding options of keyboard INPUT mode types. More...
 
enum  font_size { SMALL_FONT = 12 , NORMAL_FONT = 24 , BIG_FONT = 48 }
 This enum defines sizes of corresponding fonts. E.g.: SMALL_FONT is 12px. More...
 

Detailed Description

This namespace holds structures and enums used in app_workspace class.

Enumeration Type Documentation

◆ font_size

This enum defines sizes of corresponding fonts. E.g.: SMALL_FONT is 12px.

Enumerator
SMALL_FONT 
NORMAL_FONT 
BIG_FONT 

Definition at line 105 of file app_workspace.h.

105  {
106  SMALL_FONT = 12,
107  NORMAL_FONT = 24,
108  BIG_FONT = 48
109  };

◆ kb_input_mode

Enum holding options of keyboard input mode.

Enumerator
NAVIGATION 
INPUT 

Definition at line 76 of file app_workspace.h.

76  {
77  NAVIGATION,
78  INPUT
79  };

◆ kb_input_type

Enum holding options of keyboard INPUT mode types.

Enumerator
NONE 
INT 
FLOAT 
TEXT 

Definition at line 85 of file app_workspace.h.

85  {
86  NONE, // neutral state before correct kb_input_type is determined, should'nt be used otherwise
87  INT,
88  FLOAT,
89  TEXT
90  };