ttt2/my_src/hmi.h

37 lines
591 B
C
Raw Normal View History

/*
2017-06-07 22:15:54 +02:00
* hmi.h
*
* Created on: May 31, 2017
* Author: wn
*/
2017-06-07 22:15:54 +02:00
#ifndef HMI_H_
#define HMI_H_
#include "timer.h"
#include "stm32f1xx_hal.h"
typedef struct {
2017-06-11 22:02:07 +02:00
uint32_t toggle;
uint32_t setModeTemperature;
uint32_t setModeTime;
tTimerState timerState;
2017-06-11 22:02:07 +02:00
uint32_t toggleModeState;
uint32_t targetTemperature;
uint32_t currentTemperature;
uint32_t targetTime;
uint32_t currentTime;
uint32_t overrunTime;
} tDisplay;
2017-06-07 22:15:54 +02:00
void hmiInit(void);
void updateDisplay(void *handle);
void displayToggleSetMode();
void displayDecValue();
void displayIncValue();
2017-06-07 22:15:54 +02:00
#endif /* HMI_H_ */