tristate_bit.comp
来自「CNC 的开放码,EMC2 V2.2.8版」· COMP 代码 · 共 11 行
COMP
11 行
component tristate_bit "Place a signal on an I/O pin only when enabled, similar to a tristate buffer in electronics";pin in bit in_ "Input value";pin io bit out "Output value";pin in bit enable "When TRUE, copy in to out";function _ nofp "If \\fBenable\\fR is TRUE, copy \\fBin\\fR to \\fBout\\fR.";license "GPL";;;if(enable) out = in_;
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?