Package | Description |
---|---|
jdk.dio.adc |
Interfaces and classes for reading analog inputs using an Analog to Digital Converter (ADC).
|
Modifier and Type | Method and Description |
---|---|
void |
MonitoringListener.failed(java.lang.Throwable exception,
ADCChannel source)
Invoked when an I/O operation fails.
|
void |
AcquisitionRoundListener.failed(java.lang.Throwable exception,
ADCChannel source)
Invoked when an I/O operation fails.
|
Modifier and Type | Method and Description |
---|---|
void |
AcquisitionRoundListener.inputRoundCompleted(RoundCompletionEvent<ADCChannel,java.nio.IntBuffer> event)
Invoked when a buffer of ADC sampled values has been filled and is available for processing
or when an input overrun error occurred.
|
Constructor and Description |
---|
MonitoringEvent(ADCChannel channel,
int type,
int value)
Creates a new
MonitoringEvent with the specified raw sampled value and time-stamped
with the current time.. |
MonitoringEvent(ADCChannel channel,
int type,
int value,
long timeStamp,
int timeStampMicros)
Creates a new
MonitoringEvent with the specified raw sampled value and timestamp. |
Copyright © 2012, 2014, Oracle and/or its affiliates. All rights reserved.
Legal Notices