public interface GenerationListener extends PeripheralEventListener
GenerationListenerinterface defines methods for getting notified of pulse generation completion conditions (i.e. maximum generated pulse count value reached). A
GenerationListenercan be registered using one of the
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.