Machinekit

Machinekit

Machinekit Documentation

HAL Component — MINMAX

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

minmax — Track the minimum and maximum values of the input to the outputs

SYNOPSIS

minmax

USAGE SYNOPSIS

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

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

FUNCTIONS

minmax.N.funct ( OR <newinstname>.funct (requires a floating-point thread) )

PINS

minmax.N.in float in ( OR <newinstname>.in float in )

minmax.N.reset bit in ( OR <newinstname>.reset bit in ) - When reset is asserted, 'in' is copied to the outputs

minmax.N.max float out ( OR <newinstname>.max float out )

minmax.N.min float out ( OR <newinstname>.min float out )

LICENCE

GPL