plant_manage/plan_manage_main/src/app/include/input.h
2016-04-17 10:46:51 +08:00

37 lines
353 B
C
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*
* 文件input.h
* 功能:将外设输入的数据转换为单片机内存中的数据
*/
#ifndef INPUT_H
#define INPUT_H
typedef struct InData_
{
uint8_t isWifiOn : 1;
uint8_t isPlanMode : 1;
uint8_t isRedL : 1;
uint8_t isBlueL : 1;
uint8_t isUvbL : 1;
uint8_t knobV;
} InData;
void InitInput(void);
void
#endif // INPUT_H