xhc_hb04_util − xhc-hb04 convenience utility
loadrt xhc_hb04_util [count=N|names=name1[,name2...]] |
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.
Includes 4 multiplexers to manage ini hal pins ini.N.max_acceleration. The amux.N.in0 inputs are used by default, the amux.N.in1 inputs are selected when the is-manual pin is True.
The pin named is-manual is typically connected to halui.mode.is-manual.
The pin named jogenable-off is not used.
xhc-hb04-util.N (requires a floating-point thread)
xhc-hb04-util.N.start-or-pause
bit in
xhc-hb04-util.N.is-paused bit in
xhc-hb04-util.N.is-idle bit in
xhc-hb04-util.N.is-running bit in
xhc-hb04-util.N.pause bit out
xhc-hb04-util.N.resume bit out
xhc-hb04-util.N.run bit out
xhc-hb04-util.N.in0 s32 in
xhc-hb04-util.N.in1 s32 in
xhc-hb04-util.N.in2 s32 in
xhc-hb04-util.N.in3 s32 in
xhc-hb04-util.N.out0 s32 out
xhc-hb04-util.N.out1 s32 out
xhc-hb04-util.N.out2 s32 out
xhc-hb04-util.N.out3 s32 out
xhc-hb04-util.N.scale0 float in (default:
1.0)
xhc-hb04-util.N.scale1 float in (default:
1.0)
xhc-hb04-util.N.scale2 float in (default:
1.0)
xhc-hb04-util.N.scale3 float in (default:
1.0)
xhc-hb04-util.N.coef0 float in (default:
1.0)
xhc-hb04-util.N.coef1 float in (default:
1.0)
xhc-hb04-util.N.coef2 float in (default:
1.0)
xhc-hb04-util.N.coef3 float in (default:
1.0)
xhc-hb04-util.N.divide-by-k-in float in
xhc-hb04-util.N.divide-by-k-out float out
xhc-hb04-util.N.k float in (default:
1.0)
xhc-hb04-util.N.is-manual bit in
xhc-hb04-util.N.jogenable-off bit in
xhc-hb04-util.N.amux0-in0 float in
xhc-hb04-util.N.amux1-in0 float in
xhc-hb04-util.N.amux2-in0 float in
xhc-hb04-util.N.amux3-in0 float in
xhc-hb04-util.N.amux0-in1 float in
xhc-hb04-util.N.amux1-in1 float in
xhc-hb04-util.N.amux2-in1 float in
xhc-hb04-util.N.amux3-in1 float in
xhc-hb04-util.N.amux0-out float out
xhc-hb04-util.N.amux1-out float out
xhc-hb04-util.N.amux2-out float out
xhc-hb04-util.N.amux3-out float out
GPL