📄 txlask.c
字号:
/**********Copyright 1992 Regents of the University of California. All rightsreserved.Author: 1992 Charles Hough**********/#include "ngspice.h"#include "const.h"#include "txldefs.h"#include "ifsim.h"#include "cktdefs.h"#include "sperror.h"#include "suffix.h"/*ARGSUSED*/intTXLask(CKTcircuit *ckt, GENinstance *inst, int which, IFvalue *value, IFvalue *select){ TXLinstance *fast = (TXLinstance *)inst; switch(which) { case TXL_OUT_NODE: value->iValue = fast->TXLnegNode; return(OK); case TXL_IN_NODE: value->iValue = fast->TXLposNode; return(OK); case TXL_LENGTH: value->rValue = fast->TXLlength; return(OK); default: return(E_BADPARM); } /* NOTREACHED */}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -