initial check in based on SVN revision 575
This commit is contained in:
103
source/display.h
Normal file
103
source/display.h
Normal file
@@ -0,0 +1,103 @@
|
||||
/*
|
||||
* display.h
|
||||
*
|
||||
* Created on: Jun 17, 2022
|
||||
* Author: Keith.Lloyd
|
||||
*/
|
||||
|
||||
#ifndef DISPLAY_H_
|
||||
#define DISPLAY_H_
|
||||
|
||||
#define X_POS_MA 36
|
||||
#define X_POS_FRQ 80
|
||||
|
||||
#define STACKS_4 4
|
||||
#define STACKS_3 3
|
||||
#define STACKS_2 2
|
||||
#define STACKS_1 1
|
||||
#define STACKS_0 0
|
||||
#define STACKS_EMPTY STACKS_0
|
||||
//#define LEICA 1 // temporary replace with Enum
|
||||
|
||||
typedef enum{
|
||||
UMAG,
|
||||
LEICA,
|
||||
GLAND
|
||||
} D_MODE_t;
|
||||
|
||||
typedef enum {
|
||||
DIRECT_CON,
|
||||
DCLAMP,
|
||||
BCAST,
|
||||
DUAL_DIRECT
|
||||
|
||||
} OP_MODE_t;
|
||||
|
||||
typedef enum {
|
||||
A1,
|
||||
A2,
|
||||
B1,
|
||||
B2
|
||||
|
||||
} CON_MODE_t;
|
||||
|
||||
|
||||
typedef enum {
|
||||
LEVEL0,
|
||||
LEVEL1,
|
||||
LEVEL2,
|
||||
LEVEL3,
|
||||
LEVEL4,
|
||||
LEVEL_MAX
|
||||
} PWR_MODE_t;
|
||||
|
||||
|
||||
|
||||
void Display_Volts(void);
|
||||
void Display_Current(void);
|
||||
void Display_Ohms(void);
|
||||
void Display_Watts(void);
|
||||
void Display_Battery(void);
|
||||
void Display_Battery_NC(void);
|
||||
void Display_Battery_CF(void);
|
||||
void Display_Mode(uint8_t Con_Mode1);
|
||||
void Display_Wireless(uint8_t wireless);
|
||||
void Display_Level(PWR_MODE_t Level);
|
||||
void Display_Connection(CON_MODE_t Con_Output1, CON_MODE_t Con_Output2);
|
||||
void Display_Level(PWR_MODE_t Level);
|
||||
void Display_Backlight(uint8_t Back_Light);
|
||||
void Display_Frequency(uint8_t frequency);
|
||||
void Display_CD_Symbol(void);
|
||||
void Display_Bye_Bye(void);
|
||||
void Display_Splash(void);
|
||||
void Display_Bcast(void);
|
||||
void Display_Danger_Menu(void);
|
||||
void Display_Measurements(void);
|
||||
void Display_Normal(void);
|
||||
void Display_Flash_Bat(void);
|
||||
void Display_Estop(void);
|
||||
void Display_Bat_Error(void);
|
||||
void Display_High_Voltage(void);
|
||||
void Display_Line_Ohms(void);
|
||||
void Display_Line_Current(void);
|
||||
void Display_Clamp_Volts(void);
|
||||
void Display_Clamp_Power(void);
|
||||
void Display_Line_Voltage(void);
|
||||
void Display_Clamp_Volts(void);
|
||||
void Display_USB(void);
|
||||
uint8_t Display_Taps(void);
|
||||
void Display_Bat_Frame_Flash(void);
|
||||
void Display_Currently_Selected(void);
|
||||
void Display_Line_Measurements(void);
|
||||
void Display_Fatal_Error(void);
|
||||
void Display_OnScreen_Diagnostics(void);
|
||||
void Display_Over_Voltage_Status(void);
|
||||
void Display_USB_Status(void);
|
||||
void Display_Tx_Status(void);
|
||||
void Draw_Battery(uint8_t stacks);
|
||||
uint8_t Read_Model_type();
|
||||
void Display_EXT_DC(void);
|
||||
|
||||
#endif /* DISPLAY_H_ */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user