Machinekit

Machinekit

Machinekit Documentation

HAL Component — XHC_HB04_UTILV2

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

xhc_hb04_utilv2 — xhc-hb04 convenience utility

SYNOPSIS

xhc_hb04_utilv2

USAGE SYNOPSIS

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

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

DESCRIPTION

Provides logic for a start/pause button and an interface to halui.program.is_paused,is_idle,is_running to generate outputs for halui.program.pause,resume,run.

Includes 4 simple lowpass filters with coef and scale pins. The coef value should be 0 ⇐ coef ⇐1, smaller coef values slow response. Note: the xhc_hb04 component includes smoothing so these values can usually be left at 1.0

FUNCTIONS

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

PINS

LICENCE

GPL