|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectioio.lib.api.Sequencer.ChannelConfigPwmPosition
public static class Sequencer.ChannelConfigPwmPosition
Configuration for a channel of type PWM Position.
PWM position channels are channels in which a PWM signal is generated, and the pulse width controls the position of the actuator. A good example is a hobby servo motor. The main difference from a PWM speed channel is that the position channel will retain its 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.ChannelConfigPwmPosition(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].
| Constructor Detail |
|---|
public Sequencer.ChannelConfigPwmPosition(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 | |||||||||