public interface GenerationListener extends PeripheralEventListener
GenerationListener
interface defines methods for getting notified of pulse generation completion
conditions (i.e. maximum generated pulse count value reached). A GenerationListener
can be registered using
one of the PWMChannel.startGeneration(int)
methods.Modifier and Type | Method and Description |
---|---|
void |
pulseGenerationCompleted(GenerationEvent event)
Invoked when the generated pulse count has reached the maximum value.
|
void pulseGenerationCompleted(GenerationEvent event)
PWMChannel.startGeneration(int)
. This may be used to
generate a subsequent pulse train with different specifications: pulse period and/or width/duty cycle.event
- the event that occurred.Copyright © 2012, 2013, Oracle and/or its affiliates. All rights reserved.
Legal Notices