Machinekit

Machinekit

Machinekit Documentation

HAL Component — SAMPLE_HOLD

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

sample_hold — Sample and Hold

SYNOPSIS

sample_hold

USAGE SYNOPSIS

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

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

FUNCTIONS

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

PINS

sample_hold.N.in s32 in ( OR <newinstname>.in s32 in )

sample_hold.N.hold bit in ( OR <newinstname>.hold bit in )

sample_hold.N.out s32 out ( OR <newinstname>.out s32 out )

LICENCE

GPL