Solo Controller Documentation 1.0
Documentation for the Solo Controller
 
Loading...
Searching...
No Matches
Common.h File Reference

Common definitions used throughout the SoloController app. More...

#include "TFTM070A1.h"
#include "Definitions.h"

Go to the source code of this file.

Classes

struct  TextBoxConfig::TextBox_Config
 Defines TextBox shape information based upon the sizes of the fonts being used. More...
 

Namespaces

namespace  TextBoxConfig
 Namespace containing configuration information for TextBoxes.
 

Macros

#define CTP_INT   2
 Interrupt signal notifying host of TFT has been touched.
 
#define TFT_WAIT   3
 TFT wait signal output.
 
#define TFT_INT   4
 TFT interrupt signal output.
 
#define TFT_SD_CS   5
 CS pin for SD card reader on display.
 
#define CTP_WAKE   6
 Interrupt signal for the host to change CTP from hibernate to active mode.
 
#define CTP_NOTIF   7
 Notifies host processor that CTP data is ready to read.
 
#define TFT_BL   8
 Backlight pin used by the TFT.
 
#define TFT_RESET   9
 LCD reset. Active low.
 
#define TFT_CS   10
 CS pin used by the SPI bus to control the TFT.
 
#define SCK   52
 Clock for the primary SPI bus.
 
#define MISO   50
 MISO for the primary SPI bus.
 
#define MOSI   51
 MOSI for the primary SPI bus.
 
#define MCU_RST_TFT   A0
 MCU commands reset of Display.
 
#define ALARM   A1
 Pin that triggers the alarm.
 
#define VOL_SENSOR   A15
 Analog kettle volume sensor.
 
#define ELEM_CNTRL   39
 Pin that controls the kettle element.
 
#define INTERLOCK_STATUS   A2
 Pin that indicates the interlock status.
 
#define AUX_OUT   35
 Pin that controls the 120VAC auxiliary output.
 
#define PUMP_OUT   37
 Pin that controls the 120VAC pump output.
 
#define CONTACTOR_STATUS   A3
 Pin that indicates the contactor status.
 
#define ELEM_SWITCH_LED   39
 Pin that controls the LED for the kettle element switch.
 
#define BUZZER   41
 Pin that controls the buzzer.
 
#define KETTLE_CS   47
 Pin that controls the kettle RTD temperature sensor.
 
#define CHILLER_CS   49
 Pin that controls the chiller RTD temperature sensor.
 

Variables

const struct TextBoxConfig::TextBox_Config TextBoxConfig::TEXTBOX_SHAPE
 
struct { 
 
   ConfigTextBox_t   TextBoxConfig::kettleTemp = {52, 70, 319, TEXTBOX_SHAPE.MonoFonto_180_90_Config, FontList::FontID::Red180, FontList::FontID::White90
 
   ConfigTextBox_t   TextBoxConfig::setTemp = {198, 242, 156, TEXTBOX_SHAPE.MonoFonto_64_32sm_Config, FontList::FontID::Red64, FontList::FontID::White32
 
   ConfigTextBox_t   TextBoxConfig::elemOut = {198, 317, 156, TEXTBOX_SHAPE.MonoFonto_64_32sm_Config, FontList::FontID::Red64, FontList::FontID::White32
 
   ConfigTextBox_t   TextBoxConfig::volume = {710, 40, 145, TEXTBOX_SHAPE.MonoFonto_64_32_Config, FontList::FontID::Blue64, FontList::FontID::White32
 
   ConfigTextBox_t   TextBoxConfig::minVolume = {710, 118, 145, TEXTBOX_SHAPE.MonoFonto_64_32_Config, FontList::FontID::Blue64, FontList::FontID::White32
 
   ConfigTextBox_t   TextBoxConfig::chillerTemp = {710, 240, 145, TEXTBOX_SHAPE.MonoFonto_64_32_Config, FontList::FontID::Blue64, FontList::FontID::White32
 
   ConfigTextBox_t   TextBoxConfig::minChillerTemp = {710, 318, 145, TEXTBOX_SHAPE.MonoFonto_64_32_Config, FontList::FontID::Blue64, FontList::FontID::White32
 
TextBoxConfig::MAIN 
 Defines the location and configuration of TextBoxes used by the main menu.
 

Detailed Description

Common definitions used throughout the SoloController app.

Macro Definition Documentation

◆ ALARM

#define ALARM   A1

Pin that triggers the alarm.

◆ AUX_OUT

#define AUX_OUT   35

Pin that controls the 120VAC auxiliary output.

◆ BUZZER

#define BUZZER   41

Pin that controls the buzzer.

◆ CHILLER_CS

#define CHILLER_CS   49

Pin that controls the chiller RTD temperature sensor.

◆ CONTACTOR_STATUS

#define CONTACTOR_STATUS   A3

Pin that indicates the contactor status.

◆ CTP_INT

#define CTP_INT   2

Interrupt signal notifying host of TFT has been touched.

◆ CTP_NOTIF

#define CTP_NOTIF   7

Notifies host processor that CTP data is ready to read.

◆ CTP_WAKE

#define CTP_WAKE   6

Interrupt signal for the host to change CTP from hibernate to active mode.

◆ ELEM_CNTRL

#define ELEM_CNTRL   39

Pin that controls the kettle element.

◆ ELEM_SWITCH_LED

#define ELEM_SWITCH_LED   39

Pin that controls the LED for the kettle element switch.

◆ INTERLOCK_STATUS

#define INTERLOCK_STATUS   A2

Pin that indicates the interlock status.

◆ KETTLE_CS

#define KETTLE_CS   47

Pin that controls the kettle RTD temperature sensor.

◆ MCU_RST_TFT

#define MCU_RST_TFT   A0

MCU commands reset of Display.

◆ MISO

#define MISO   50

MISO for the primary SPI bus.

◆ MOSI

#define MOSI   51

MOSI for the primary SPI bus.

◆ PUMP_OUT

#define PUMP_OUT   37

Pin that controls the 120VAC pump output.

◆ SCK

#define SCK   52

Clock for the primary SPI bus.

◆ TFT_BL

#define TFT_BL   8

Backlight pin used by the TFT.

◆ TFT_CS

#define TFT_CS   10

CS pin used by the SPI bus to control the TFT.

◆ TFT_INT

#define TFT_INT   4

TFT interrupt signal output.

◆ TFT_RESET

#define TFT_RESET   9

LCD reset. Active low.

◆ TFT_SD_CS

#define TFT_SD_CS   5

CS pin for SD card reader on display.

◆ TFT_WAIT

#define TFT_WAIT   3

TFT wait signal output.

◆ VOL_SENSOR

#define VOL_SENSOR   A15

Analog kettle volume sensor.