mutparam.c
来自「支持数字元件仿真的SPICE插件」· C语言 代码 · 共 45 行
C
45 行
/* * Copyright (c) 1985 Thomas L. Quarles */#include "prefix.h"#include <stdio.h>#include "util.h"#include "IFsim.h"#include "INDdefs.h"#include "SPerror.h"#include "suffix.h"RCSID("MUTparam.c $Revision: 1.1 $ on $Date: 90/10/11 12:43:13 $")#ifdef MUTUAL/* ARGSUSED */intMUTparam(param,value,inst,select) int param; IFvalue *value; GENinstance *inst; IFvalue *select;{ MUTinstance *here = (MUTinstance*)inst; switch(param) { case MUT_COEFF: here->MUTcoupling = value->rValue; here->MUTindGiven = TRUE; break; case MUT_IND1: here->MUTindName1 = value->uValue; break; case MUT_IND2: here->MUTindName2 = value->uValue; break; case MUT_COEFF_SENS: here->MUTsenParmNo = value->iValue; break; default: return(E_BADPARM); } return(OK);}#endif /* MUTUAL */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?