Machinekit

Machinekit

Machinekit Documentation

HAL Component — TRISTATE_BITV2

INSTANTIABLE COMPONENTS — General

All instantiable components can be loaded in two manners

Using loadrt with or without count= | names= parameters as per legacy components
Using newinst, which names the instance and allows further parameters and arguments
primarily pincount= which can set the number of pins created for that instance (where applicable)

NAME

tristate_bitv2 — Place a signal on an I/O pin only when enabled, similar to a tristate buffer in electronics

SYNOPSIS

tristate_bitv2

USAGE SYNOPSIS

loadrt tristate_bitv2
OR
newinst tristate_bitv2 <newinstname> [ pincount=N | iprefix=prefix ] [instanceparamX=X | argX=X ]

( args in [ ] denote possible args and parameters, may not be used in all components )

FUNCTIONS

tristate_bitv2.N.funct ( OR <newinstname>.funct )

If \fBenable\fR is TRUE, copy \fBin\fR to \fBout\fR.

PINS

LICENCE

GPL