NULL
This commit is contained in:
39
user/Compute/ATypeFlowRate.h
Executable file
39
user/Compute/ATypeFlowRate.h
Executable file
@@ -0,0 +1,39 @@
|
||||
/********************************************************************************************************
|
||||
** HY3106<30><36><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ӳ<EFBFBD><D3B3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ͷ<EFBFBD>ļ<EFBFBD>
|
||||
**
|
||||
** Copyright (c) Siargo, Ltd. 2011
|
||||
** All Rights Reserved.
|
||||
**
|
||||
********************************************************************************************************/
|
||||
#ifndef __ATypeFlowRate_h__
|
||||
#define __ATypeFlowRate_h__
|
||||
|
||||
//******************************************************************************
|
||||
// for memory WIDTH
|
||||
#define P0_0_RH_WIDTH 3
|
||||
#define P0_50_RH_WIDTH 3
|
||||
#define RH_0_WIDTH 3
|
||||
#define RH_50_WIDTH 3
|
||||
#define ATYPE_FR_BASE_WIDTH 12
|
||||
//******************************************************************************
|
||||
// for memory CRC
|
||||
#define P0_0_RH_CRC (P0_0_RH_WIDTH-1)
|
||||
#define P0_50_RH_CRC (P0_50_RH_WIDTH-1)
|
||||
#define RH_0_CRC (RH_0_WIDTH-1)
|
||||
#define RH_50_CRC (RH_50_WIDTH-1)
|
||||
//******************************************************************************
|
||||
// for memory address
|
||||
#define P0_0_RH ATYPE_FR_BASE
|
||||
#define P0_50_RH (P0_0_RH + P0_0_RH_WIDTH)
|
||||
#define RH_0 (P0_50_RH + P0_50_RH_WIDTH)
|
||||
#define RH_50 (RH_0 + RH_0_WIDTH)
|
||||
/******************************************************************************/
|
||||
extern unsigned short P0RhLow, P0RhHigh;
|
||||
extern float PHeater, P0Heater, A0Heater, B0Heater;
|
||||
extern unsigned short switchFIndex, ATypeIndexGain, GDCFactorAType;
|
||||
/******************************************************************************/
|
||||
void ComputeABParameter(void);
|
||||
void ATypeFlowRateInit(void);
|
||||
void ComputeATypeIndex(void);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user