code beautifying
This commit is contained in:
36
my_src/hmi.h
Normal file
36
my_src/hmi.h
Normal file
@ -0,0 +1,36 @@
|
||||
/*
|
||||
* hmi.h
|
||||
*
|
||||
* Created on: May 31, 2017
|
||||
* Author: wn
|
||||
*/
|
||||
|
||||
#ifndef HMI_H_
|
||||
#define HMI_H_
|
||||
|
||||
|
||||
#include "timer.h"
|
||||
#include "stm32f1xx_hal.h"
|
||||
|
||||
|
||||
typedef struct {
|
||||
uint8_t toggle;
|
||||
uint8_t setModeTemperature;
|
||||
uint8_t setModeTime;
|
||||
tTimerState timerState;
|
||||
uint8_t toggleModeState;
|
||||
uint32_t targetTemperature;
|
||||
uint32_t currentTemperature;
|
||||
uint32_t targetTime;
|
||||
uint32_t currentTime;
|
||||
uint32_t overrunTime;
|
||||
} tDisplay;
|
||||
|
||||
void hmiInit(void);
|
||||
void updateDisplay(void *handle);
|
||||
void displayToggleSetMode();
|
||||
void displayDecValue();
|
||||
void displayIncValue();
|
||||
|
||||
|
||||
#endif /* HMI_H_ */
|
Reference in New Issue
Block a user