📄 ad.h
字号:
/***********************************************************************/
/* */
/* FILE :ad.h */
/* DATE :Tue, Jun 07, 2005 */
/* DESCRIPTION :Main Program */
/* CPU TYPE :Other */
/* */
/* This file is coded by RSBJ WRD */
/* */
/***********************************************************************/
#include "typedefine.h"
#ifndef AD
#define AD
#include "TB3450.h"
#include "TB4090.h"
void ad_ini (const ADCHNO ad_chno);
BOOLEAN ad_spl( const ADCHNO ad_chno , UINT_16 * const adval,const ADGRP ad_grp);
#define ADSTA() adst = 1;
#define ADSTP() adst = 0;
static TEMCHNTYPE temchn_array[4] = {{0,0},{1,0},{2,0},{3,0} };
SINT_8 tem_spl ( const TEMCHNTYPE * const temch, const UINT_16 * const tem_array, const SINT_8 tem_offset,const UINT_8 temtblnum);
extern SINT_8 Tem_air;
extern SINT_8 Tem_pipe;
extern SINT_8 Tem_oh;
extern SINT_8 Tem_drain;
#define Tair_spl() tem_spl( &temchn_array[3],B3450,B3450OFFSET,B3450NUM)
#define Tpipe_spl() tem_spl( &temchn_array[2],B3450, B3450OFFSET,B3450NUM)
#define Toh_spl() tem_spl( &temchn_array[0],B3450,B3450OFFSET,B3450NUM )
#define Tdrain_spl() tem_spl( &temchn_array[1],B4090 ,B4090OFFSET,B4090NUM)
void Tair_avr(void);
void Tpipe_avr(void);
void Toh_avr(void);
void Tdrain_avr(void);
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -