setpointregion.h

来自「cypress cy3721做的外部无线结点。感知温度后将温度值反给中心结点。」· C头文件 代码 · 共 34 行

H
34
字号
//
//  SetPointRegion.h
//
//    Set point region function stuff

#ifndef SETPOINTREGION_H
#define SETPOINTREGION_H

#include <m8c.h>

typedef struct
{
	int const * Threshold;
	int const * Hysteresis;
	BYTE Ordinal;
} SETPOINT_ELEM_STRUC;

typedef struct
{
	int Threshold;
	int Hysteresis;
} SETPOINT_ELEM_CONST_STRUC;

typedef struct
{
	SETPOINT_ELEM_STRUC const * SetPointArray;
	BYTE SetPointCount;
	BYTE * pOldValue;
} SETPOINT_REGION_PB;

BYTE SetPointRegion( SETPOINT_REGION_PB const *, int);

#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?