|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectioio.lib.api.Sequencer.ChannelConfigPwmSpeed
public static class Sequencer.ChannelConfigPwmSpeed
Configuration for a channel of type PWM speed.
PWM speed channels are channels in which a PWM signal is generated, and the pulse width controls the speed of the actuator. A good example is a DC motor. The main difference from a PWM position channel is that the position channel will go back to its initial pulse width during a stall event.
| Field Summary | |
|---|---|
Sequencer.Clock |
clk
The clock rate for this channel (cannot be changed on a per-cue basis). |
int |
initialPulseWidth
The initial pulse width (before any cue is executed), in time-base units, determined by clk. |
int |
period
The PWM period, in time-base units, determined by clk. |
DigitalOutput.Spec[] |
pinSpec
Specification of the output pin(s) for this channel. |
| Constructor Summary | |
|---|---|
Sequencer.ChannelConfigPwmSpeed(Sequencer.Clock clk,
int period,
int initialPulseWidth,
DigitalOutput.Spec... pinSpec)
Constructor. |
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public final DigitalOutput.Spec[] pinSpec
public final Sequencer.Clock clk
public final int period
clk. Valid values are
[2..65536].
public final int initialPulseWidth
clk. Valid values are 0 or [2..65536]. Also used in the event of a stall.
| Constructor Detail |
|---|
public Sequencer.ChannelConfigPwmSpeed(Sequencer.Clock clk,
int period,
int initialPulseWidth,
DigitalOutput.Spec... pinSpec)
clk - See clk.period - See period.initialPulseWidth - See initialPulseWidth.pinSpec - See pinSpec.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||