- DACChannel - Interface in jdk.dio.dac
-
The DACChannel
interface provides methods for controlling a DAC (Digital to Analog
Converter) channel.
- DACChannelConfig - Class in jdk.dio.dac
-
The DACChannelConfig
class encapsulates the hardware addressing information, and static
and dynamic configuration parameters of an DAC channel.
- DACChannelConfig(int, int, int, int) - Constructor for class jdk.dio.dac.DACChannelConfig
-
- DACChannelConfig(String, int, int, int) - Constructor for class jdk.dio.dac.DACChannelConfig
-
- DACChannelConfig.Builder - Class in jdk.dio.dac
-
The Builder
class allows for creating and initializing DACChannelConfig
objects.
- DACChannelConfig.Builder() - Constructor for class jdk.dio.dac.DACChannelConfig.Builder
-
Creates a new Builder
instance.
- DACPermission - Class in jdk.dio.dac
-
The DACPermission
class defines permissions for DAC channel access.
- DACPermission(String) - Constructor for class jdk.dio.dac.DACPermission
-
Constructs a new DACPermission
with the specified target name and the implicit
open
action.
- DACPermission(String, String) - Constructor for class jdk.dio.dac.DACPermission
-
Constructs a new DACPermission
instance with the specified target name and action
list.
- DATA - Static variable in class jdk.dio.atcmd.ATPermission
-
The data
action.
- DATABITS_5 - Static variable in class jdk.dio.uart.UARTConfig
-
5 data bit format.
- DATABITS_6 - Static variable in class jdk.dio.uart.UARTConfig
-
6 data bit format.
- DATABITS_7 - Static variable in class jdk.dio.uart.UARTConfig
-
7 data bit format.
- DATABITS_8 - Static variable in class jdk.dio.uart.UARTConfig
-
8 data bit format.
- DATABITS_9 - Static variable in class jdk.dio.uart.UARTConfig
-
9 data bit format.
- DataConnection - Interface in jdk.dio.atcmd
-
The DataConnection
interface provides methods for reading and writing to a data
connection opened by issuing an AT command (e.g.
- DataConnectionHandler - Interface in jdk.dio.atcmd
-
The DataConnectionHandler
interface defines methods for handling connection state
changes.
- DCD_SIGNAL - Static variable in interface jdk.dio.modem.ModemSignalsControl
-
Data Carrier Detect (DCD) signal.
- DEFAULT - Static variable in interface jdk.dio.DeviceConfig
-
- deserialize(InputStream) - Static method in class jdk.dio.adc.ADCChannelConfig
-
Creates a new ADCChannelConfig
whose state is deserialized from
the specified InputStream
.
- deserialize(InputStream) - Static method in class jdk.dio.atcmd.ATDeviceConfig
-
Creates a new ATDeviceConfig
whose state is deserialized from the specified InputStream
.
- deserialize(InputStream) - Static method in class jdk.dio.counter.PulseCounterConfig
-
Creates a new PulseCounterConfig
whose state is deserialized from the specified InputStream
.
- deserialize(InputStream) - Static method in class jdk.dio.dac.DACChannelConfig
-
Creates a new DACChannelConfig
whose state is deserialized from the specified InputStream
.
- deserialize(InputStream) - Static method in class jdk.dio.generic.GenericDeviceConfig
-
Creates a new GenericDeviceConfig
whose state is deserialized from the specified InputStream
.
- deserialize(InputStream) - Static method in class jdk.dio.gpio.GPIOPinConfig
-
Creates a new GPIOPinConfig
whose state is deserialized from the specified InputStream
.
- deserialize(InputStream) - Static method in class jdk.dio.gpio.GPIOPortConfig
-
Creates a new GPIOPortConfig
whose state is deserialized from the specified InputStream
.
- deserialize(InputStream) - Static method in class jdk.dio.i2cbus.I2CDeviceConfig
-
Creates a new I2CDeviceConfig
whose state is deserialized from the specified InputStream
.
- deserialize(InputStream) - Static method in class jdk.dio.mmio.MMIODeviceConfig
-
Creates a new MMIODeviceConfig
whose state is deserialized from the specified InputStream
.
- deserialize(InputStream) - Static method in class jdk.dio.pwm.PWMChannelConfig
-
Creates a new PWMChannelConfig
whose state is deserialized from the specified InputStream
.
- deserialize(InputStream) - Method in interface jdk.dio.spi.DeviceProvider
-
De-serializes a DeviceConfig
object from the specified InputStream
.
- deserialize(InputStream) - Static method in class jdk.dio.spibus.SPIDeviceConfig
-
Creates a new SPIDeviceConfig
whose state is deserialized from the specified InputStream
.
- deserialize(InputStream) - Static method in class jdk.dio.uart.UARTConfig
-
Creates a new UARTConfig
whose state is deserialized from the specified InputStream
.
- deserialize(InputStream) - Static method in class jdk.dio.watchdog.WatchdogTimerConfig
-
Creates a new WatchdogTimerConfig
whose state is deserialized from the specified InputStream
.
- Device<P extends Device<? super P>> - Interface in jdk.dio
-
The Device
interface represents devices in the system.
- device - Variable in class jdk.dio.DeviceEvent
-
The Device
instance that fired this event or for which this event was fired.
- DeviceAlreadyExistsException - Exception in jdk.dio
-
Thrown by the
DeviceManager
to indicate that a device is already
registered for the specified ID.
- DeviceAlreadyExistsException() - Constructor for exception jdk.dio.DeviceAlreadyExistsException
-
Constructs a new DeviceAlreadyExistsException
instance with null
as its detailed
reason message.
- DeviceAlreadyExistsException(String) - Constructor for exception jdk.dio.DeviceAlreadyExistsException
-
Constructs a new DeviceAlreadyExistsException
instance with the specified detailed
reason message.
- DeviceConfig<P extends Device<? super P>> - Interface in jdk.dio
-
The DeviceConfig
class is the base interface for all device
configuration classes.
- DeviceConfig.HardwareAddressing - Interface in jdk.dio
-
The HardwareAddressing
interface defines an abstraction of an
hardware addressing information common on different platforms.
- DeviceDescriptor<P extends Device<? super P>> - Interface in jdk.dio
-
The DeviceDescriptor
interface encapsulates the identifying and descriptive
information of a device as well as its registered configuration (hardware addressing
parameters, and static and dynamic configuration parameters).
- DeviceEvent<P extends Device<? super P>> - Class in jdk.dio
-
The DeviceEvent
class encapsulates events fired by or on behalf of a
device.
- DeviceEvent() - Constructor for class jdk.dio.DeviceEvent
-
Sole constructor (for invocation by subclass constructors, typically implicit).
- DeviceEventListener - Interface in jdk.dio
-
The DeviceEventListener
interface is a tagging interface that all event listeners
must implement.
- DeviceException - Exception in jdk.dio
-
Thrown to indicate that a general exception occurred on a device operation.
- DeviceException() - Constructor for exception jdk.dio.DeviceException
-
Constructs a new DeviceException
instance with null
as its detailed
reason message.
- DeviceException(String) - Constructor for exception jdk.dio.DeviceException
-
Constructs a new DeviceException
instance with the specified detailed reason
message.
- DeviceManager - Class in jdk.dio
-
The
DeviceManager
class provides methods for opening and registering
devices that can then be handled as
Device
instances.
- DeviceMgmtPermission - Class in jdk.dio
-
The DeviceMgmtPermission
class defines permissions for registering and unregistering devices as
well as opening devices using their registered configurations.
- DeviceMgmtPermission(String, String) - Constructor for class jdk.dio.DeviceMgmtPermission
-
Constructs a new DeviceMgmtPermission
instance with the specified target name and action list.
- DeviceNotFoundException - Exception in jdk.dio
-
Thrown to indicate that there is no device matching the provided device numeric ID, name or properties.
- DeviceNotFoundException() - Constructor for exception jdk.dio.DeviceNotFoundException
-
Constructs a new DeviceNotFoundException
instance with null
as its detailed reason message.
- DeviceNotFoundException(String) - Constructor for exception jdk.dio.DeviceNotFoundException
-
Constructs a new DeviceNotFoundException
instance with the specified detailed reason message.
- DevicePermission - Class in jdk.dio
-
The DevicePermission
abstract class is the superclass of all device permissions.
- DevicePermission(String) - Constructor for class jdk.dio.DevicePermission
-
Constructs a new DevicePermission
with the specified target name and the implicit
open
action.
- DevicePermission(String, String) - Constructor for class jdk.dio.DevicePermission
-
Constructs a new DevicePermission
instance with the specified target name and
action list.
- DeviceProvider<P extends Device<? super P>> - Interface in jdk.dio.spi
-
The
DeviceProvider
interface provides methods to open
Device
instances of a certain type
and optionally with a specific configuration and a list of properties.
- deviceRegistered(RegistrationEvent<P>) - Method in interface jdk.dio.RegistrationListener
-
Invoked when a new device is registered.
- deviceUnregistered(RegistrationEvent<P>) - Method in interface jdk.dio.RegistrationListener
-
Invoked when a device is unregistered.
- DIR_BOTH_INIT_INPUT - Static variable in class jdk.dio.gpio.GPIOPinConfig
-
Bidirectional pin direction with initial input direction.
- DIR_BOTH_INIT_INPUT - Static variable in class jdk.dio.gpio.GPIOPortConfig
-
Bidirectional port direction with initial input direction.
- DIR_BOTH_INIT_OUTPUT - Static variable in class jdk.dio.gpio.GPIOPinConfig
-
Bidirectional pin direction with initial output direction.
- DIR_BOTH_INIT_OUTPUT - Static variable in class jdk.dio.gpio.GPIOPortConfig
-
Bidirectional port direction with initial output direction.
- DIR_INPUT_ONLY - Static variable in class jdk.dio.gpio.GPIOPinConfig
-
Input pin direction.
- DIR_INPUT_ONLY - Static variable in class jdk.dio.gpio.GPIOPortConfig
-
Input port direction.
- DIR_OUTPUT_ONLY - Static variable in class jdk.dio.gpio.GPIOPinConfig
-
Output pin direction.
- DIR_OUTPUT_ONLY - Static variable in class jdk.dio.gpio.GPIOPortConfig
-
Output port direction.
- disablePowerSaving() - Method in interface jdk.dio.power.PowerManaged
-
Disables application-dictated power saving for the
Device
instance.
- DSR_SIGNAL - Static variable in interface jdk.dio.modem.ModemSignalsControl
-
Data Set Ready (DSR) signal.
- DTR_SIGNAL - Static variable in interface jdk.dio.modem.ModemSignalsControl
-
Data Terminal Ready (DTR) signal.
- generate(int) - Method in interface jdk.dio.dac.DACChannel
-
Writes the provided raw output value to this channel.
- generate(IntBuffer) - Method in interface jdk.dio.dac.DACChannel
-
Writes a sequence of raw output values from the provided buffer to this channel for
conversion.
- generate(int, int) - Method in interface jdk.dio.pwm.PWMChannel
-
Generates a pulse train containing the specified count of pulses of the specified width.
- generate(IntBuffer) - Method in interface jdk.dio.pwm.PWMChannel
-
Generates a pulse train from the specified sequence of pulse widths.
- generateBreak(int) - Method in interface jdk.dio.uart.UART
-
Generates a line break for the specified duration.
- GenerationEvent - Class in jdk.dio.pwm
-
The GenerationEvent
class encapsulates pulse a generation completion condition (i.e.
- GenerationEvent(PWMChannel, int) - Constructor for class jdk.dio.pwm.GenerationEvent
-
Creates a new
GenerationEvent
with the specified type, pulse count and time-stamped with the current
time.
- GenerationEvent(PWMChannel, int, long, int) - Constructor for class jdk.dio.pwm.GenerationEvent
-
Creates a new
GenerationEvent
with the specified type, pulse count and timestamp.
- GenerationListener - Interface in jdk.dio.pwm
-
The GenerationListener
interface defines methods for getting notified of pulse generation completion
conditions (i.e.
- GenerationRoundListener - Interface in jdk.dio.dac
-
The GenerationRoundListener
interface defines methods for getting notified of the
completion of the conversion of a set of raw output values and that more output values to be
converted may be provided.
- GenerationRoundListener - Interface in jdk.dio.pwm
-
The GenerationRoundListener
interface defines methods for getting notified of the completion of the
generation of a sequence of pulses and that more pulses (the width thereof) to generate may be specified.
- GenericBufferIODevice - Interface in jdk.dio.generic
-
The GenericBufferIODevice
interface defines generic methods for accessing and controlling
devices using read and write operations.
- GenericDevice - Interface in jdk.dio.generic
-
The GenericDevice
interface defines methods for setting and getting
device-specific configuration and access (I/O) controls as well as registering event listeners.
- GenericDeviceConfig - Class in jdk.dio.generic
-
The GenericDeviceConfig
class encapsulates the hardware addressing information of generic
device.
- GenericDeviceConfig(int, int) - Constructor for class jdk.dio.generic.GenericDeviceConfig
-
- GenericDeviceConfig(String, int) - Constructor for class jdk.dio.generic.GenericDeviceConfig
-
- GenericDeviceConfig.Builder - Class in jdk.dio.generic
-
The Builder
class allows for creating and initializing
GenericDeviceConfig
objects.
- GenericDeviceConfig.Builder() - Constructor for class jdk.dio.generic.GenericDeviceConfig.Builder
-
- GenericDeviceControl<T> - Class in jdk.dio.generic
-
The class GenericDeviceControl
encapsulates a generic device's configuration
and access (I/O) control.
- GenericDeviceControl(int, Class<T>) - Constructor for class jdk.dio.generic.GenericDeviceControl
-
Creates a new GenericDeviceControl
with the specified ID and type.
- GenericEvent - Class in jdk.dio.generic
-
The
GenericEvent
class encapsulates events fired by devices that implement the
GenericDevice
interface.
- GenericEvent(GenericDevice, int) - Constructor for class jdk.dio.generic.GenericEvent
-
Creates a new
GenericEvent
with the specified value and time-stamped with the current
time.
- GenericEvent(GenericDevice, int, long, int) - Constructor for class jdk.dio.generic.GenericEvent
-
Creates a new
GenericEvent
with the specified value and timestamp.
- GenericEventListener - Interface in jdk.dio.generic
-
The
GenericEventListener
interface defines methods for getting notified of events fired
by devices that implement the
GenericDevice
interface.
- GenericPermission - Class in jdk.dio.generic
-
The GenericPermission
class defines permissions for g device access.
- GenericPermission(String) - Constructor for class jdk.dio.generic.GenericPermission
-
Constructs a new GenericPermission
with the specified target name and the implicit
open
action.
- GenericPermission(String, String) - Constructor for class jdk.dio.generic.GenericPermission
-
Constructs a new GenericPermission
instance with the specified target name and action
list.
- get() - Method in interface jdk.dio.mmio.RawRegister
-
Gets the value at the memory area associated with this object.
- getActions() - Method in class jdk.dio.atcmd.ATPermission
-
Returns the list of possible actions in the following canonical order: open
, data
and powermanage
.
- getActions() - Method in class jdk.dio.DeviceMgmtPermission
-
Returns the list of possible actions in the following canonical order: register
,
unregister
or open
.
- getActions() - Method in class jdk.dio.DevicePermission
-
Returns the list of possible actions in the following canonical order: open
or
powermanage
.
- getActions() - Method in class jdk.dio.gpio.GPIOPinPermission
-
Returns the list of possible actions in the following canonical order: open
,
powermanage
or setdirection
.
- getActions() - Method in class jdk.dio.gpio.GPIOPortPermission
-
Returns the list of possible actions in the following canonical order: open
,
powermanage
or setdirection
.
- getAddress() - Method in class jdk.dio.i2cbus.I2CDeviceConfig
-
Gets the configured address of the I2C slave device.
- getAddress() - Method in class jdk.dio.mmio.MMIODeviceConfig
-
Gets the configured memory address of the MMIO device.
- getAddress() - Method in class jdk.dio.spibus.SPIDeviceConfig
-
Gets the configured address of the SPI slave device.
- getAddressSize() - Method in class jdk.dio.i2cbus.I2CDeviceConfig
-
Gets the configured address size of the I2C slave device.
- getAsRawBlock() - Method in interface jdk.dio.mmio.MMIODevice
-
Gets the complete memory area this device is mapped to as a RawBlock
instance.
- getBaudRate() - Method in interface jdk.dio.uart.UART
-
Gets the current baud rate.
- getBaudRate() - Method in class jdk.dio.uart.UARTConfig
-
Gets the configured initial speed in Bauds.
- getBitOrdering() - Method in class jdk.dio.spibus.SPIDeviceConfig
-
Gets the configured bit (shifting) ordering of the SPI slave device.
- getBlock(String) - Method in interface jdk.dio.mmio.MMIODevice
-
Gets the designated memory block.
- getBuffer() - Method in class jdk.dio.RoundCompletionEvent
-
Returns the input or output buffer.
- getBus() - Method in interface jdk.dio.i2cbus.I2CDevice
-
Retrieves the Bus
instance representing the I2C bus this device is
connected to.
- getByteOrder() - Method in interface jdk.dio.Device
-
Retrieves this device's byte order.
- getByteOrder() - Method in class jdk.dio.mmio.MMIODeviceConfig
-
Gets the configured byte order of the MMIO device.
- getByteOrdering() - Method in interface jdk.dio.mmio.MMIODevice
-
- getByteOrdering() - Method in class jdk.dio.mmio.MMIODeviceConfig
-
- getCapturedMemoryContent() - Method in class jdk.dio.mmio.MMIOEvent
-
Gets the captured content of the memory area or memory block designated upon registration.
- getCapturedRegisterValue() - Method in class jdk.dio.mmio.MMIOEvent
-
Gets the captured value of the register designated upon registration.
- getChannelNumber() - Method in class jdk.dio.adc.ADCChannelConfig
-
Gets the configured channel number.
- getChannelNumber() - Method in class jdk.dio.atcmd.ATDeviceConfig
-
Gets the configured channel number.
- getChannelNumber() - Method in class jdk.dio.counter.PulseCounterConfig
-
Gets the configured counter number.
- getChannelNumber() - Method in class jdk.dio.dac.DACChannelConfig
-
Gets the configured channel number.
- getChannelNumber() - Method in class jdk.dio.generic.GenericDeviceConfig
-
Gets the configured channel number.
- getChannelNumber() - Method in class jdk.dio.pwm.PWMChannelConfig
-
Gets the configured PWM channel number.
- getChannelNumber() - Method in class jdk.dio.uart.UARTConfig
-
Gets the configured UART channel number.
- getClockFrequency() - Method in class jdk.dio.i2cbus.I2CDeviceConfig
-
Gets the configured clock frequency (in Hz) supported by the I2C slave device.
- getClockFrequency() - Method in class jdk.dio.spibus.SPIDeviceConfig
-
Gets the clock frequency (in Hz) supported by the SPI slave device.
- getClockMode() - Method in class jdk.dio.spibus.SPIDeviceConfig
-
Gets the configured clock mode (combining clock polarity and phase) for communicating with the SPI slave device.
- getClosedWindowTimeout() - Method in interface jdk.dio.watchdog.WindowedWatchdogTimer
-
Get the current closed window delay for the watchdog timer.
- getConfigType() - Method in interface jdk.dio.spi.DeviceProvider
-
Returns the type of the
DeviceConfig
this provider can handle.
- getConfiguration() - Method in interface jdk.dio.DeviceDescriptor
-
Returns the actual configuration of the device.
- getControl(GenericDeviceControl<T>) - Method in interface jdk.dio.generic.GenericDevice
-
Gets the value of the specified control.
- getControllerName() - Method in class jdk.dio.adc.ADCChannelConfig
-
Gets the configured controller name (such as its device file
name on UNIX systems).
- getControllerName() - Method in class jdk.dio.atcmd.ATDeviceConfig
-
Gets the configured controller name (such as its device file name on UNIX systems).
- getControllerName() - Method in class jdk.dio.counter.PulseCounterConfig
-
Gets the configured controller name (such as its device file name on UNIX systems).
- getControllerName() - Method in class jdk.dio.dac.DACChannelConfig
-
Gets the configured controller name (such as its device file name on UNIX systems).
- getControllerName() - Method in interface jdk.dio.DeviceConfig.HardwareAddressing
-
Gets the controller name (such as a device file name on UNIX
systems).
- getControllerName() - Method in class jdk.dio.generic.GenericDeviceConfig
-
Gets the configured controller name (such as its device file name on UNIX systems).
- getControllerName() - Method in class jdk.dio.gpio.GPIOPinConfig
-
Gets the configured controller name (such as its device file name on UNIX systems).
- getControllerName() - Method in class jdk.dio.i2cbus.I2CDeviceConfig
-
Gets the configured controller name (such as its device file name on UNIX systems).
- getControllerName() - Method in class jdk.dio.mmio.MMIODeviceConfig
-
Gets the configured controller name (such as its device file name on UNIX systems).
- getControllerName() - Method in class jdk.dio.pwm.PWMChannelConfig
-
Gets the configured controller name (such as its device file name on UNIX systems).
- getControllerName() - Method in class jdk.dio.spibus.SPIDeviceConfig
-
Gets the configured controller name (such as its device file name on UNIX systems).
- getControllerName() - Method in class jdk.dio.uart.UARTConfig
-
Gets the configured controller name (such as its device file name on UNIX systems).
- getControllerName() - Method in class jdk.dio.watchdog.WatchdogTimerConfig
-
Gets the configured controller name (such as its device file name on UNIX systems).
- getControllerNumber() - Method in class jdk.dio.adc.ADCChannelConfig
-
Gets the configured device number (such as the ADC converter number).
- getControllerNumber() - Method in class jdk.dio.atcmd.ATDeviceConfig
-
Gets the configured controller number.
- getControllerNumber() - Method in class jdk.dio.counter.PulseCounterConfig
-
Gets the configured controller number.
- getControllerNumber() - Method in class jdk.dio.dac.DACChannelConfig
-
Gets the configured controller number.
- getControllerNumber() - Method in interface jdk.dio.DeviceConfig.HardwareAddressing
-
Gets the controller number.
- getControllerNumber() - Method in class jdk.dio.generic.GenericDeviceConfig
-
Gets the configured controller number.
- getControllerNumber() - Method in class jdk.dio.gpio.GPIOPinConfig
-
Gets the configured controller number for the pin.
- getControllerNumber() - Method in class jdk.dio.i2cbus.I2CDeviceConfig
-
Gets the configured controller number (the controller number the I2C bus adapter the I2C slave device
is connected to).
- getControllerNumber() - Method in class jdk.dio.mmio.MMIODeviceConfig
-
Gets the configured controller number (the PWM controller or generator number).
- getControllerNumber() - Method in class jdk.dio.pwm.PWMChannelConfig
-
Gets the configured controller number (the PWM controller or generator number).
- getControllerNumber() - Method in class jdk.dio.spibus.SPIDeviceConfig
-
Gets the configured controller number (the controller number of the SPI bus adapter the slave device is connected to).
- getControllerNumber() - Method in class jdk.dio.uart.UARTConfig
-
Gets the configured UART controller number.
- getControllerNumber() - Method in class jdk.dio.watchdog.WatchdogTimerConfig
-
Gets the configured controller number.
- getCount() - Method in interface jdk.dio.counter.PulseCounter
-
Gets the pulse count measured so far during the current (if still active) or previous
counting session.
- getCount() - Method in class jdk.dio.DeviceEvent
-
Returns the number of underlying coalesced hardware interrupts or software signals this event
may represent.
- getCSActiveLevel() - Method in class jdk.dio.spibus.SPIDeviceConfig
-
Gets the configured Chip Select active level for selecting the SPI slave device.
- getDataBits() - Method in interface jdk.dio.uart.UART
-
Gets the current number of bits per character.
- getDataBits() - Method in class jdk.dio.uart.UARTConfig
-
Gets the configured initial number of bits per character.
- getDescriptor() - Method in interface jdk.dio.Device
-
Retrieves the identifying and descriptive information of this device.
- getDescriptor() - Method in class jdk.dio.RegistrationEvent
-
Returns the identifying and descriptive information of the registered or unregistered
device.
- getDescriptor() - Method in class jdk.dio.spi.AbstractDevice
-
Retrieves the identifying and descriptive information of this device
device.
- getDevice() - Method in interface jdk.dio.atcmd.DataConnection
-
Returns the ATDevice
this data connection has been opened with.
- getDevice() - Method in class jdk.dio.DeviceEvent
-
Returns the Device
instance that fired this event or for which this event was
fired.
- getDirection() - Method in interface jdk.dio.gpio.GPIOPin
-
Returns the current direction of this GPIO pin.
- getDirection() - Method in class jdk.dio.gpio.GPIOPinConfig
-
Gets the configured pin direction.
- getDirection() - Method in interface jdk.dio.gpio.GPIOPort
-
Returns the current direction of this GPIO port.
- getDirection() - Method in class jdk.dio.gpio.GPIOPortConfig
-
Gets the configured port direction.
- getDriveMode() - Method in class jdk.dio.gpio.GPIOPinConfig
-
Gets the configured pin drive mode.
- getFlowControlMode() - Method in interface jdk.dio.uart.UART
-
Gets the current flow control mode.
- getFlowControlMode() - Method in class jdk.dio.uart.UARTConfig
-
Gets the configured initial flow control mode.
- getGroup() - Method in interface jdk.dio.power.PowerManaged
-
Returns the power management Group
this device belongs to.
- getID() - Method in interface jdk.dio.DeviceDescriptor
-
Returns the numeric ID of the device.
- getID() - Method in class jdk.dio.generic.GenericDeviceControl
-
Gets the ID of this control.
- getID() - Method in class jdk.dio.generic.GenericEvent
-
Returns this event ID.
- getID() - Method in class jdk.dio.mmio.MMIOEvent
-
Returns this event ID.
- getID() - Method in class jdk.dio.uart.UARTEvent
-
Returns this event ID.
- getIdleState() - Method in class jdk.dio.pwm.PWMChannelConfig
-
Gets the configured idle output state.
- getInitiator() - Method in class jdk.dio.RegistrationEvent
-
Returns the free-formed name of the registration/unregistration initiator.
- getInitValue() - Method in class jdk.dio.gpio.GPIOPinConfig
-
Gets the configured initial value of the pin, if configured for output.
- getInitValue() - Method in class jdk.dio.gpio.GPIOPortConfig
-
Gets the configured initial value of the port, if configured for output.
- getInputBuffer() - Method in interface jdk.dio.BufferAccess
-
Gets the direct input buffer of this device (optional
operation).
- getInputBufferSize() - Method in class jdk.dio.adc.ADCChannelConfig
-
Gets the requested or allocated input buffer size.
- getInputBufferSize() - Method in class jdk.dio.generic.GenericDeviceConfig
-
Gets the requested or allocated input buffer size.
- getInputBufferSize() - Method in class jdk.dio.i2cbus.I2CDeviceConfig
-
Gets the requested input buffer size.
- getInputBufferSize() - Method in class jdk.dio.spibus.SPIDeviceConfig
-
Gets the requested or allocated input buffer size.
- getInputBufferSize() - Method in class jdk.dio.uart.UARTConfig
-
Gets the requested or allocated input buffer size.
- getInterface() - Method in interface jdk.dio.DeviceDescriptor
-
Returns the interface (sub-interface of Device
) of the device.
- getInterval() - Method in class jdk.dio.counter.CountingEvent
-
Returns the actual counting time interval (in microseconds).
- getLastTimeStamp() - Method in class jdk.dio.DeviceEvent
-
Returns the time (in milliseconds) when the last coalesced event occurred.
- getLastTimeStampMicros() - Method in class jdk.dio.DeviceEvent
-
Returns the additional microseconds to the timestamp for when the last coalesced event
occurred.
- getMaxCommandLength() - Method in interface jdk.dio.atcmd.ATDevice
-
Returns the maximum length of the command string that can be processed by the underlying AT
parser.
- getMaxPulsePeriod() - Method in interface jdk.dio.pwm.PWMChannel
-
Gets the
scaled maximum pulse period of this PWM channel (in microseconds) that can bet set by a call to
setPulsePeriod
.
- getMaxSamplingInterval() - Method in interface jdk.dio.adc.ADCChannel
-
Gets the maximum
scaled input sampling interval (in microseconds) that can be set using
setSamplingInterval
.
- getMaxSamplingInterval() - Method in interface jdk.dio.dac.DACChannel
-
Gets the maximum
scaled output sampling interval (in microseconds) that can be set using
setSamplingInterval
.
- getMaxTimeout() - Method in interface jdk.dio.watchdog.WatchdogTimer
-
Gets the maximum timeout that can be set for the watchdog timer.
- getMaxValue() - Method in interface jdk.dio.adc.ADCChannel
-
Returns the maximum raw value this channel can convert to.
- getMaxValue() - Method in interface jdk.dio.dac.DACChannel
-
Returns the maximum raw value this channel can convert.
- getMaxValue() - Method in interface jdk.dio.gpio.GPIOPort
-
Returns the maximum value of this GPIO port.
- getMinPulsePeriod() - Method in interface jdk.dio.pwm.PWMChannel
-
Gets the minimum
scaled pulse period of this PWM channel (in microseconds) that can bet set by a call to
setPulsePeriod
.
- getMinSamplingInterval() - Method in interface jdk.dio.adc.ADCChannel
-
Gets the minimum
scaled input sampling interval (in microseconds) that can be set using
setSamplingInterval
.
- getMinSamplingInterval() - Method in interface jdk.dio.dac.DACChannel
-
Gets the minimum
scaled output sampling interval (in microseconds) that can be set using
setSamplingInterval
.
- getMinValue() - Method in interface jdk.dio.adc.ADCChannel
-
Returns the minimum raw value this channel can convert to.
- getMinValue() - Method in interface jdk.dio.dac.DACChannel
-
Returns the minimum raw value this channel can convert.
- getName() - Method in interface jdk.dio.DeviceDescriptor
-
Returns the name of the device.
- getName() - Method in class jdk.dio.mmio.MMIODeviceConfig.RawMemoryConfig
-
Gets the configured name for the raw memory area.
- getName() - Method in interface jdk.dio.mmio.RawBlock
-
Returns the name assigned to this RawBlock
instance.
- getName() - Method in interface jdk.dio.mmio.RawMemory
-
Returns the name assigned to this RawMemory
instance.
- getNumber() - Method in class jdk.dio.RoundCompletionEvent
-
Return the number of elements input or output during the round.
- getOffset() - Method in class jdk.dio.mmio.MMIODeviceConfig.RawMemoryConfig
-
Gets the configured offset of the raw memory area from the base address.
- getOutput() - Method in interface jdk.dio.pwm.PWMChannel
-
Gets the output on which the pulses are generated.
- getOutput() - Method in class jdk.dio.pwm.PWMChannelConfig
-
- getOutputBuffer() - Method in interface jdk.dio.BufferAccess
-
Gets the direct output buffer of this device (optional
operation).
- getOutputBufferSize() - Method in class jdk.dio.dac.DACChannelConfig
-
Gets the requested or allocated output buffer size.
- getOutputBufferSize() - Method in class jdk.dio.generic.GenericDeviceConfig
-
Gets the requested or allocated output buffer size.
- getOutputBufferSize() - Method in class jdk.dio.i2cbus.I2CDeviceConfig
-
Gets the requested or allocated output buffer size.
- getOutputBufferSize() - Method in class jdk.dio.pwm.PWMChannelConfig
-
Gets the requested or allocated output buffer size.
- getOutputBufferSize() - Method in class jdk.dio.spibus.SPIDeviceConfig
-
Gets the requested or allocated output buffer size.
- getOutputBufferSize() - Method in class jdk.dio.uart.UARTConfig
-
Gets the requested or allocated output buffer size.
- getOutputConfig() - Method in class jdk.dio.pwm.PWMChannelConfig
-
Gets the configured output configuration on which the pulses are to be generated.
- getParity() - Method in interface jdk.dio.uart.UART
-
Gets the current parity.
- getParity() - Method in class jdk.dio.uart.UARTConfig
-
Gets the configured initial parity.
- getPinConfigs() - Method in class jdk.dio.gpio.GPIOPortConfig
-
Gets the configured configurations of the pins composing the port (in the exact same order
they compose the port).
- getPinNumber() - Method in class jdk.dio.gpio.GPIOPinConfig
-
Gets the configured pin number.
- getPins() - Method in interface jdk.dio.gpio.GPIOPort
-
Gets the pins composing the port (in the exact same order they compose the port).
- getPins() - Method in class jdk.dio.gpio.GPIOPortConfig
-
- getPowerState() - Method in interface jdk.dio.power.PowerManaged
-
Returns the current power state of the
Device
instance.
- getProperties() - Method in interface jdk.dio.DeviceDescriptor
-
Returns the properties of the device.
- getPulseAlignment() - Method in class jdk.dio.pwm.PWMChannelConfig
-
Gets the configured pulse alignment.
- getPulseCount() - Method in class jdk.dio.pwm.GenerationEvent
-
Returns the generated pulse count value.
- getPulsePeriod() - Method in interface jdk.dio.pwm.PWMChannel
-
Gets the scaled pulse period of this PWM channel (in microseconds).
- getPulsePeriod() - Method in class jdk.dio.pwm.PWMChannelConfig
-
Gets the configured initial scaled pulse period (in microseconds).
- getRawMemoryConfigs() - Method in class jdk.dio.mmio.MMIODeviceConfig
-
Gets the set of configured registers and memory blocks.
- getReceiveTimeout() - Method in interface jdk.dio.uart.UART
-
Gets the current receive timeout.
- getReceiveTriggerLevel() - Method in interface jdk.dio.uart.UART
-
Gets the current receive trigger level.
- getRegister(String, Class<T>) - Method in interface jdk.dio.mmio.MMIODevice
-
Gets the designated register holding a value of the designated type.
- getResolution() - Method in class jdk.dio.adc.ADCChannelConfig
-
Gets the configured resolution.
- getResolution() - Method in class jdk.dio.dac.DACChannelConfig
-
Gets the configured resolution.
- getSamplingInterval() - Method in interface jdk.dio.adc.ADCChannel
-
Gets the scaled input sampling interval (in microseconds).
- getSamplingInterval() - Method in class jdk.dio.adc.ADCChannelConfig
-
Gets the configured initial scaled input sampling
interval - the amount of time between two samples (in microseconds).
- getSamplingInterval() - Method in interface jdk.dio.dac.DACChannel
-
Gets the scaled output sampling interval (in microseconds).
- getSamplingInterval() - Method in class jdk.dio.dac.DACChannelConfig
-
Gets the configured initial scaled output sampling interval - the amount of time between two
samples (in microseconds).
- getSamplingTime() - Method in class jdk.dio.adc.ADCChannelConfig
-
Gets the configured scaled input sampling time - the amount of
time to take the sample (in microseconds).
- getScaleFactor() - Method in interface jdk.dio.adc.ADCChannel
-
Gets the sampling interval scale factor of this ADC channel.
- getScaleFactor() - Method in class jdk.dio.adc.ADCChannelConfig
-
Gets the configured initial input sampling interval and input
sampling time scale factor.
- getScaleFactor() - Method in interface jdk.dio.dac.DACChannel
-
Gets the sampling interval scale factor of this DAC channel.
- getScaleFactor() - Method in class jdk.dio.dac.DACChannelConfig
-
Gets the configured initial output sampling interval scale factor.
- getScaleFactor() - Method in interface jdk.dio.pwm.PWMChannel
-
Gets the pulse period scale factor of this PWM channel.
- getScaleFactor() - Method in class jdk.dio.pwm.PWMChannelConfig
-
Gets the configured initial pulse period scale factor.
- getSignalID() - Method in class jdk.dio.modem.ModemSignalEvent
-
Returns the signal ID.
- getSignalState() - Method in class jdk.dio.modem.ModemSignalEvent
-
Returns the new signal state.
- getSignalState(int) - Method in interface jdk.dio.modem.ModemSignalsControl
-
Gets the state of the designated signal.
- getSize() - Method in class jdk.dio.mmio.MMIODeviceConfig
-
Gets the configured size of the memory-mapped area of the MMIO device.
- getSize() - Method in class jdk.dio.mmio.MMIODeviceConfig.RawBlockConfig
-
Gets the configured size in bytes of the memory block.
- getSource() - Method in interface jdk.dio.counter.PulseCounter
-
Gets the input source on which the pulses are counted/measured.
- getSource() - Method in class jdk.dio.counter.PulseCounterConfig
-
- getSourceConfig() - Method in class jdk.dio.counter.PulseCounterConfig
-
Gets the configured source (GPIO input pin) configuration on which the pulses are to be
counted/measured.
- getStopBits() - Method in interface jdk.dio.uart.UART
-
Gets the current number of stop bits per character.
- getStopBits() - Method in class jdk.dio.uart.UARTConfig
-
Gets the configured initial number of stop bits per character.
- getTargetedDevice() - Method in interface jdk.dio.spibus.SPICompositeMessage
-
Gets the SPIDevice
this composite message is targeting.
- getTimeout() - Method in interface jdk.dio.watchdog.WatchdogTimer
-
Get the current timeout for the watchdog timer.
- getTimerNumber() - Method in class jdk.dio.watchdog.WatchdogTimerConfig
-
Gets the configured timer number.
- getTimeStamp() - Method in class jdk.dio.DeviceEvent
-
Returns the time (in milliseconds) when this event (first) occurred.
- getTimeStampMicros() - Method in class jdk.dio.DeviceEvent
-
Returns the additional microseconds to the timestamp for when this event (first) occurred.
- getTrigger() - Method in interface jdk.dio.gpio.GPIOPin
-
Returns the current pin interrupt trigger.
- getTrigger() - Method in class jdk.dio.gpio.GPIOPinConfig
-
Gets the configured initial pin interrupt trigger.
- getType() - Method in class jdk.dio.adc.MonitoringEvent
-
Returns the type of range condition being notified.
- getType() - Method in class jdk.dio.counter.CountingEvent
-
Returns the type of counting condition being notified.
- getType() - Method in class jdk.dio.counter.PulseCounterConfig
-
Gets the configured pulse or pulse edge type.
- getType() - Method in class jdk.dio.generic.GenericDeviceControl
-
Gets the type of this control's value.
- getType() - Method in class jdk.dio.mmio.MMIODeviceConfig.RawRegisterConfig
-
Gets the configured type of the value held by the register.
- getType() - Method in interface jdk.dio.mmio.RawRegister
-
Returns the type of the value this RawRegister
instance can hold.
- getType() - Method in interface jdk.dio.spi.DeviceProvider
-
Returns the type of the
Device
instance this provider opens.
- getValue() - Method in class jdk.dio.adc.MonitoringEvent
-
Returns the new ADC channel's value.
- getValue() - Method in class jdk.dio.counter.CountingEvent
-
Returns the pulse count value.
- getValue() - Method in interface jdk.dio.gpio.GPIOPin
-
Returns the current value of this GPIO pin.
- getValue() - Method in interface jdk.dio.gpio.GPIOPort
-
Returns the current value of this GPIO port.
- getValue() - Method in class jdk.dio.gpio.PinEvent
-
Returns the new GPIO pin's value.
- getValue() - Method in class jdk.dio.gpio.PortEvent
-
Returns the new GPIO port's value.
- getVRefValue() - Method in interface jdk.dio.adc.ADCChannel
-
Returns the Reference Voltage value of this ADC channel.
- getVRefValue() - Method in interface jdk.dio.dac.DACChannel
-
Returns the Reference Voltage value of this DAC channel.
- getWordLength() - Method in interface jdk.dio.spibus.SPIDevice
-
Gets the transfer word length in bits supported by this slave device.
- getWordLength() - Method in class jdk.dio.spibus.SPIDeviceConfig
-
Gets the configured word length for communicating with the SPI slave device.
- GPIOPin - Interface in jdk.dio.gpio
-
The GPIOPin
interface provides methods for controlling a GPIO pin.
- GPIOPinConfig - Class in jdk.dio.gpio
-
The GPIOPinConfig
class encapsulates the hardware addressing information, and static and
dynamic configuration parameters of a GPIO pin.
- GPIOPinConfig(int, int, int, int, int, boolean) - Constructor for class jdk.dio.gpio.GPIOPinConfig
-
- GPIOPinConfig(String, int, int, int, int, boolean) - Constructor for class jdk.dio.gpio.GPIOPinConfig
-
- GPIOPinConfig.Builder - Class in jdk.dio.gpio
-
The Builder
class allows for creating and initializing
GPIOPinConfig
objects.
- GPIOPinConfig.Builder() - Constructor for class jdk.dio.gpio.GPIOPinConfig.Builder
-
Creates a new Builder
instance.
- GPIOPinPermission - Class in jdk.dio.gpio
-
The GPIOPinPermission
class defines permissions for GPIO pin access.
- GPIOPinPermission(String) - Constructor for class jdk.dio.gpio.GPIOPinPermission
-
Constructs a new GPIOPinPermission
with the specified target name and the implicit
open
action.
- GPIOPinPermission(String, String) - Constructor for class jdk.dio.gpio.GPIOPinPermission
-
Constructs a new GPIOPinPermission
instance with the specified target name and action
list.
- GPIOPort - Interface in jdk.dio.gpio
-
The GPIOPort
interface provides methods for controlling a GPIO port.
- GPIOPortConfig - Class in jdk.dio.gpio
-
The GPIOPortConfig
class encapsulates the hardware addressing information, and static and
dynamic configuration parameters of a GPIO port.
- GPIOPortConfig(int, int, GPIOPinConfig...) - Constructor for class jdk.dio.gpio.GPIOPortConfig
-
Creates a new GPIOPortConfig
with the specified hardware addressing information and
configuration parameters.
- GPIOPortPermission - Class in jdk.dio.gpio
-
The GPIOPortPermission
class defines permissions for GPIO port access.
- GPIOPortPermission(String) - Constructor for class jdk.dio.gpio.GPIOPortPermission
-
Constructs a new GPIOPortPermission
with the specified target name and the implicit
open
action.
- GPIOPortPermission(String, String) - Constructor for class jdk.dio.gpio.GPIOPortPermission
-
Constructs a new GPIOPortPermission
instance with the specified target name and
action list.
- sendCommand(String) - Method in interface jdk.dio.atcmd.ATDevice
-
Sends an AT command and wait for the response.
- sendCommand(String, CommandResponseHandler) - Method in interface jdk.dio.atcmd.ATDevice
-
Sends an AT command and handle the response asynchronously.
- serialize(OutputStream) - Method in class jdk.dio.adc.ADCChannelConfig
-
Serializes the state of this ADCChannelConfig
object to the
specified OutputStream
.
- serialize(OutputStream) - Method in class jdk.dio.atcmd.ATDeviceConfig
-
Serializes the state of this ATDeviceConfig
object to the specified OutputStream
.
- serialize(OutputStream) - Method in class jdk.dio.counter.PulseCounterConfig
-
Serializes the state of this PulseCounterConfig
object to the specified OutputStream
.
- serialize(OutputStream) - Method in class jdk.dio.dac.DACChannelConfig
-
Serializes the state of this DACChannelConfig
object to the specified OutputStream
.
- serialize(OutputStream) - Method in interface jdk.dio.DeviceConfig
-
Serializes the state of this DeviceConfig
object to the specified
OutputStream
.
- serialize(OutputStream) - Method in class jdk.dio.generic.GenericDeviceConfig
-
Serializes the state of this GenericDeviceConfig
object to the specified OutputStream
.
- serialize(OutputStream) - Method in class jdk.dio.gpio.GPIOPinConfig
-
Serializes the state of this GPIOPinConfig
object to the specified OutputStream
.
- serialize(OutputStream) - Method in class jdk.dio.gpio.GPIOPortConfig
-
Serializes the state of this GPIOPortConfig
object to the specified OutputStream
.
- serialize(OutputStream) - Method in class jdk.dio.i2cbus.I2CDeviceConfig
-
Serializes the state of this I2CDeviceConfig
object to the specified OutputStream
.
- serialize(OutputStream) - Method in class jdk.dio.mmio.MMIODeviceConfig
-
Serializes the state of this MMIODeviceConfig
object to the specified OutputStream
.
- serialize(OutputStream) - Method in class jdk.dio.pwm.PWMChannelConfig
-
Serializes the state of this PWMChannelConfig
object to the specified OutputStream
.
- serialize(OutputStream) - Method in class jdk.dio.spibus.SPIDeviceConfig
-
Serializes the state of this SPIDeviceConfig
object to the specified OutputStream
.
- serialize(OutputStream) - Method in class jdk.dio.uart.UARTConfig
-
Serializes the state of this UARTConfig
object to the specified OutputStream
.
- serialize(OutputStream) - Method in class jdk.dio.watchdog.WatchdogTimerConfig
-
Serializes the state of this WatchdogTimerConfig
object to the specified OutputStream
.
- set(T) - Method in interface jdk.dio.mmio.RawRegister
-
Sets the value at the memory area associated with this object.
- SET_DIRECTION - Static variable in class jdk.dio.gpio.GPIOPinPermission
-
The setdirection
action.
- SET_DIRECTION - Static variable in class jdk.dio.gpio.GPIOPortPermission
-
The setdirection
action.
- setAddress(int, int) - Method in class jdk.dio.i2cbus.I2CDeviceConfig.Builder
-
Sets the address of the slave device on the bus.
- setAddress(long) - Method in class jdk.dio.mmio.MMIODeviceConfig.Builder
-
Sets the base memory address of the device.
- setAddress(int) - Method in class jdk.dio.spibus.SPIDeviceConfig.Builder
-
Sets the Chip Select address of the slave device on the bus.
- setBaudRate(int) - Method in interface jdk.dio.uart.UART
-
Sets the baud rate.
- setBaudRate(int) - Method in class jdk.dio.uart.UARTConfig.Builder
-
Sets the speed in Bauds (default value is 9600
if not set).
- setBit(int) - Method in interface jdk.dio.mmio.RawRegister
-
Sets (to 1
) the designated bit value at the memory area associated with this object.
- setBitOrdering(int) - Method in class jdk.dio.spibus.SPIDeviceConfig.Builder
-
Sets the bit (shifting) ordering of the slave device (default value
is UNASSIGNED
if not set).
- setBits(T) - Method in interface jdk.dio.mmio.RawRegister
-
Sets (to 1
) the specified bits at the memory area associated with this object.
- setByteOrder(ByteOrder) - Method in class jdk.dio.mmio.MMIODeviceConfig.Builder
-
Sets the byte order of the device (default value, if not set, is
the native byte order of the underlying platform as returned by
ByteOrder.nativeOrder()
).
- setChannelNumber(int) - Method in class jdk.dio.adc.ADCChannelConfig.Builder
-
Sets the channel number (default value is UNASSIGNED
if not set).
- setChannelNumber(int) - Method in class jdk.dio.counter.PulseCounterConfig.Builder
-
Sets the channel/counter number (default value is UNASSIGNED
if not
set).
- setChannelNumber(int) - Method in class jdk.dio.dac.DACChannelConfig.Builder
-
Sets the channel number (default value is UNASSIGNED
if not set).
- setChannelNumber(int) - Method in class jdk.dio.generic.GenericDeviceConfig.Builder
-
Sets the channel number (default value is UNASSIGNED
if not
set).
- setChannelNumber(int) - Method in class jdk.dio.pwm.PWMChannelConfig.Builder
-
Sets the channel number (default value is UNASSIGNED
if not set).
- setChannelNumber(int) - Method in class jdk.dio.uart.UARTConfig.Builder
-
Sets the channel number (default value is UNASSIGNED
if not
set).
- setClockFrequency(int) - Method in class jdk.dio.i2cbus.I2CDeviceConfig.Builder
-
Sets the clock frequency of the slave device in Hz (default value is
UNASSIGNED
if not set).
- setClockFrequency(int) - Method in class jdk.dio.spibus.SPIDeviceConfig.Builder
-
Sets the clock frequency of the slave device in Hz (default value is
UNASSIGNED
if not set).
- setClockMode(int) - Method in class jdk.dio.spibus.SPIDeviceConfig.Builder
-
Sets the clock mode (default value is 0
if not set).
- setControl(GenericDeviceControl<T>, T) - Method in interface jdk.dio.generic.GenericDevice
-
Sets the value of the specified control.
- setControllerName(String) - Method in class jdk.dio.adc.ADCChannelConfig.Builder
-
Sets the controller name (default value is null
if not set).
- setControllerName(String) - Method in class jdk.dio.counter.PulseCounterConfig.Builder
-
Sets the controller name (default value is null
if not set).
- setControllerName(String) - Method in class jdk.dio.dac.DACChannelConfig.Builder
-
Sets the controller name (default value is null
if not set).
- setControllerName(String) - Method in class jdk.dio.generic.GenericDeviceConfig.Builder
-
Sets the controller name (default value is null
if not set).
- setControllerName(String) - Method in class jdk.dio.gpio.GPIOPinConfig.Builder
-
Sets the controller name (default value is null
if not set).
- setControllerName(String) - Method in class jdk.dio.i2cbus.I2CDeviceConfig.Builder
-
Sets the name of the bus the slave device is connected to (default value is null
if not set).
- setControllerName(String) - Method in class jdk.dio.mmio.MMIODeviceConfig.Builder
-
Sets the controller name (default value is null
if not set).
- setControllerName(String) - Method in class jdk.dio.pwm.PWMChannelConfig.Builder
-
Sets the controller name (default value is null
if not set).
- setControllerName(String) - Method in class jdk.dio.spibus.SPIDeviceConfig.Builder
-
Sets the name of the bus the slave device is connected to (default
value is null
if not set).
- setControllerName(String) - Method in class jdk.dio.uart.UARTConfig.Builder
-
Sets the controller name (default value is null
if not set).
- setControllerNumber(int) - Method in class jdk.dio.adc.ADCChannelConfig.Builder
-
Sets the controller number (default value is UNASSIGNED
if not set).
- setControllerNumber(int) - Method in class jdk.dio.counter.PulseCounterConfig.Builder
-
Sets the controller number (default value is UNASSIGNED
if
not set).
- setControllerNumber(int) - Method in class jdk.dio.dac.DACChannelConfig.Builder
-
Sets the controller number (default value is UNASSIGNED
if not set).
- setControllerNumber(int) - Method in class jdk.dio.generic.GenericDeviceConfig.Builder
-
Sets the controller number (default value is UNASSIGNED
if
not set).
- setControllerNumber(int) - Method in class jdk.dio.gpio.GPIOPinConfig.Builder
-
Sets the controller number (default value is UNASSIGNED
if
not set).
- setControllerNumber(int) - Method in class jdk.dio.i2cbus.I2CDeviceConfig.Builder
-
Sets the number of the bus the slave device is connected to (default
value is UNASSIGNED
if not set).
- setControllerNumber(int) - Method in class jdk.dio.mmio.MMIODeviceConfig.Builder
-
Sets the controller number (default value is UNASSIGNED
if
not set).
- setControllerNumber(int) - Method in class jdk.dio.pwm.PWMChannelConfig.Builder
-
Sets the controller number (default value is UNASSIGNED
if not set).
- setControllerNumber(int) - Method in class jdk.dio.spibus.SPIDeviceConfig.Builder
-
Sets the number of the bus the slave device is connected to (default
value is UNASSIGNED
if not set).
- setControllerNumber(int) - Method in class jdk.dio.uart.UARTConfig.Builder
-
Sets the controller number (default value is UNASSIGNED
if
not set).
- setCSActiveLevel(int) - Method in class jdk.dio.spibus.SPIDeviceConfig.Builder
-
Sets the Chip Select active level (default value is
UNASSIGNED
if not set).
- setDataBits(int) - Method in interface jdk.dio.uart.UART
-
Sets the number of bits per character.
- setDataBits(int) - Method in class jdk.dio.uart.UARTConfig.Builder
-
Sets the number of bits per character (default value is
DATABITS_8
if not set).
- setDirection(int) - Method in interface jdk.dio.gpio.GPIOPin
-
Sets this GPIO pin for output or input.
- setDirection(int) - Method in class jdk.dio.gpio.GPIOPinConfig.Builder
-
Sets the allowed and initial pin direction.
- setDirection(int) - Method in interface jdk.dio.gpio.GPIOPort
-
Sets this GPIO port for output or input.
- setDriveMode(int) - Method in class jdk.dio.gpio.GPIOPinConfig.Builder
-
Sets the pin drive mode (default value is UNASSIGNED
if not
set).
- setEventListener(int, GenericEventListener) - Method in interface jdk.dio.generic.GenericDevice
-
Registers a
GenericEventListener
instance to monitor native events of the designated
type fired by the device associated to this
GenericDevice
object.
- setEventListener(int, UARTEventListener) - Method in interface jdk.dio.uart.UART
-
Registers a
UARTEventListener
instance to monitor input data availability, input buffer overrun and/or
empty output buffer conditions.
- setFlowControlMode(int) - Method in interface jdk.dio.uart.UART
-
Sets the flow control mode.
- setFlowControlMode(int) - Method in class jdk.dio.uart.UARTConfig.Builder
-
Sets the flow control mode (default value is FLOWCONTROL_NONE
if not set).
- setIdleState(int) - Method in class jdk.dio.pwm.PWMChannelConfig.Builder
-
Sets the idle output state (default value is UNASSIGNED
if not
set).
- setInitValue(boolean) - Method in class jdk.dio.gpio.GPIOPinConfig.Builder
-
Sets the initial value of the pin when initially set for output
(default value is false
if not set).
- setInputBufferSize(int) - Method in class jdk.dio.adc.ADCChannelConfig.Builder
-
Sets the requested input buffer size (default value is UNASSIGNED
if not set).
- setInputBufferSize(int) - Method in class jdk.dio.generic.GenericDeviceConfig.Builder
-
Sets the requested input buffer size (default value is
UNASSIGNED
if not set).
- setInputBufferSize(int) - Method in class jdk.dio.i2cbus.I2CDeviceConfig.Builder
-
Sets the requested input buffer size (default value is
UNASSIGNED
if not set).
- setInputBufferSize(int) - Method in class jdk.dio.spibus.SPIDeviceConfig.Builder
-
Sets the requested input buffer size (default value is
UNASSIGNED
if not set).
- setInputBufferSize(int) - Method in class jdk.dio.uart.UARTConfig.Builder
-
Sets the requested input buffer size (default value is
UNASSIGNED
if not set).
- setInputListener(PinListener) - Method in interface jdk.dio.gpio.GPIOPin
-
Registers a
PinListener
instance which will get asynchronously notified when this
GPIO pin's value changes and according to the current trigger mode (see
getTrigger
).
- setInputListener(PortListener) - Method in interface jdk.dio.gpio.GPIOPort
-
Registers a
PortListener
instance which will get asynchronously notified when this
GPIO port's value changes and according to its trigger mode.
- setMMIOEventListener(int, int, ByteBuffer, MMIOEventListener) - Method in interface jdk.dio.mmio.MMIODevice
-
Registers a
MMIOEventListener
instance to monitor native events of the designated type fired by the
device mapped to this
MMIODevice
object and capture the content of designated memory
area.
- setMMIOEventListener(int, MMIOEventListener) - Method in interface jdk.dio.mmio.MMIODevice
-
Registers a
MMIOEventListener
instance to monitor native events of the designated type fired by the
device mapped to this
MMIODevice
object.
- setMMIOEventListener(int, String, MMIOEventListener) - Method in interface jdk.dio.mmio.MMIODevice
-
Registers a
MMIOEventListener
instance to monitor native events of the designated type fired by the
device mapped to this
MMIODevice
object and capture the content of designated register
or block.
- setOutputBufferSize(int) - Method in class jdk.dio.dac.DACChannelConfig.Builder
-
Sets the requested output buffer size (default value is UNASSIGNED
if not set).
- setOutputBufferSize(int) - Method in class jdk.dio.generic.GenericDeviceConfig.Builder
-
Sets the requested output buffer size (default value is
UNASSIGNED
if not set).
- setOutputBufferSize(int) - Method in class jdk.dio.i2cbus.I2CDeviceConfig.Builder
-
Sets the requested output buffer size (default value is
UNASSIGNED
if not set).
- setOutputBufferSize(int) - Method in class jdk.dio.pwm.PWMChannelConfig.Builder
-
Sets the requested output buffer size (default value is UNASSIGNED
if not set).
- setOutputBufferSize(int) - Method in class jdk.dio.spibus.SPIDeviceConfig.Builder
-
Sets the requested output buffer size (default value is
UNASSIGNED
if not set).
- setOutputBufferSize(int) - Method in class jdk.dio.uart.UARTConfig.Builder
-
Sets the requested output buffer size (default value is
UNASSIGNED
if not set).
- setOutputConfig(GPIOPinConfig) - Method in class jdk.dio.pwm.PWMChannelConfig.Builder
-
Sets the configuration of the output (a GPIO output pin) on which the
pulses are to be generated (default value is null
if not set).
- setParity(int) - Method in interface jdk.dio.uart.UART
-
Sets the parity.
- setParity(int) - Method in class jdk.dio.uart.UARTConfig.Builder
-
Sets the parity (default value is PARITY_NONE
if not set).
- setPinNumber(int) - Method in class jdk.dio.gpio.GPIOPinConfig.Builder
-
Sets the pin number (default value is UNASSIGNED
if not set).
- setPowerSavingHandler(PowerSavingHandler) - Method in interface jdk.dio.power.PowerManaged.Group
-
Registers a PowerSavingHandler
instance to get asynchronously notified when the power management
facility is about to change the power state of this group, hence allowing the application to veto the power
state change.
- setPulseAlignment(int) - Method in class jdk.dio.pwm.PWMChannelConfig.Builder
-
Sets the pulse alignment - the alignment of the pulse within the pulse period (default value is UNASSIGNED
if not
set).
- setPulsePeriod(int) - Method in interface jdk.dio.pwm.PWMChannel
-
Sets the scaled pulse period of this PWM channel.
- setPulsePeriod(int) - Method in class jdk.dio.pwm.PWMChannelConfig.Builder
-
Sets the initial scaled output sampling interval (default value is UNASSIGNED
if not
set).
- setRawMemoryConfigs(MMIODeviceConfig.RawMemoryConfig...) - Method in class jdk.dio.mmio.MMIODeviceConfig.Builder
-
Sets the raw block and raw register configurations (default value is
null
if not set).
- setReceiveTimeout(int) - Method in interface jdk.dio.uart.UART
-
Sets the receive timeout.
- setReceiveTriggerLevel(int) - Method in interface jdk.dio.uart.UART
-
Sets the receive trigger level.
- setResolution(int) - Method in class jdk.dio.adc.ADCChannelConfig.Builder
-
Sets the resolution (default value is UNASSIGNED
if not set).
- setResolution(int) - Method in class jdk.dio.dac.DACChannelConfig.Builder
-
Sets the resolution (default value is UNASSIGNED
if not set).
- setSamplingInterval(int) - Method in interface jdk.dio.adc.ADCChannel
-
Sets the scaled input sampling interval (in microseconds).
- setSamplingInterval(int) - Method in class jdk.dio.adc.ADCChannelConfig.Builder
-
Sets the initial scaled input sampling interval (default value is UNASSIGNED
if not
set).
- setSamplingInterval(int) - Method in interface jdk.dio.dac.DACChannel
-
Sets the scaled output sampling interval (in microseconds).
- setSamplingInterval(int) - Method in class jdk.dio.dac.DACChannelConfig.Builder
-
Sets the initial scaled output sampling interval (default value is UNASSIGNED
if not
set).
- setSamplingTime(int) - Method in class jdk.dio.adc.ADCChannelConfig.Builder
-
Sets the scaled input sampling time (default value is UNASSIGNED
if not set).
- setScaleFactor(double) - Method in interface jdk.dio.adc.ADCChannel
-
Sets the sampling interval scale factor of this ADC channel.
- setScaleFactor(double) - Method in class jdk.dio.adc.ADCChannelConfig.Builder
-
Sets the initial input sampling interval and input
sampling time scale factor (default value is 1.0
if not set).
- setScaleFactor(double) - Method in interface jdk.dio.dac.DACChannel
-
Sets the sampling interval scale factor of this DAC channel.
- setScaleFactor(double) - Method in class jdk.dio.dac.DACChannelConfig.Builder
-
Sets the initial output sampling interval scale factor
(default value is 1.0
if not set).
- setScaleFactor(double) - Method in interface jdk.dio.pwm.PWMChannel
-
Sets the pulse period scale factor of this PWM channel.
- setScaleFactor(double) - Method in class jdk.dio.pwm.PWMChannelConfig.Builder
-
Sets the initial pulse period scale factor (default value is 1.0
if not set).
- setSignalChangeListener(ModemSignalListener<P>, int) - Method in interface jdk.dio.modem.ModemSignalsControl
-
Registers a
ModemSignalListener
instance which will get asynchronously notified when one of the
designated signals changes.
- setSignalState(int, boolean) - Method in interface jdk.dio.modem.ModemSignalsControl
-
Sets or clears the designated signal.
- setSize(int) - Method in class jdk.dio.mmio.MMIODeviceConfig.Builder
-
Sets the size of the memory-mapped area of the device (a positive
integer).
- setSourceConfig(GPIOPinConfig) - Method in class jdk.dio.counter.PulseCounterConfig.Builder
-
Sets the configuration of the source (a GPIO input pin) on which the pulses are to be
counted (default value is null
if not set).
- setStopBits(int) - Method in interface jdk.dio.uart.UART
-
Sets the number of stop bits per character.
- setStopBits(int) - Method in class jdk.dio.uart.UARTConfig.Builder
-
Sets the number of stop bits per character (default value is
STOPBITS_1
if not set).
- setTrigger(int) - Method in interface jdk.dio.gpio.GPIOPin
-
Sets this GPIO pin trigger mode.
- setTrigger(int) - Method in class jdk.dio.gpio.GPIOPinConfig.Builder
-
Sets the initial interrupt trigger events (default value is
TRIGGER_NONE
if not set).
- setType(int) - Method in class jdk.dio.counter.PulseCounterConfig.Builder
-
Sets the pulse or pulse edge type.
- setUnsolicitedResponseHandler(UnsolicitedResponseHandler) - Method in interface jdk.dio.atcmd.ATDevice
-
Registers a handler for handling Unsolicited Result Code responses.
- setValue(boolean) - Method in interface jdk.dio.gpio.GPIOPin
-
Sets the value of this GPIO pin.
- setValue(int) - Method in interface jdk.dio.gpio.GPIOPort
-
Sets the value of this GPIO port.
- setWordLength(int) - Method in class jdk.dio.spibus.SPIDeviceConfig.Builder
-
Sets the word length of the slave device (default value is
UNASSIGNED
if not set).
- SHARED - Static variable in class jdk.dio.DeviceManager
-
Shared access mode.
- signalID - Variable in class jdk.dio.modem.ModemSignalEvent
-
The signal ID.
- signalState - Variable in class jdk.dio.modem.ModemSignalEvent
-
The signal state.
- signalStateChanged(ModemSignalEvent<P>) - Method in interface jdk.dio.modem.ModemSignalListener
-
Invoked when the state of a modem signal has changed.
- SPICompositeMessage - Interface in jdk.dio.spibus
-
The SPICompositeMessage
interface provides methods for constructing a
composite message.
- SPIDevice - Interface in jdk.dio.spibus
-
The SPIDevice
interface provides methods for transmitting and receiving data to/from an SPI slave device.
- SPIDeviceConfig - Class in jdk.dio.spibus
-
The SPIDeviceConfig
class encapsulates the hardware addressing information, and static and dynamic
configuration parameters of an SPI slave device.
- SPIDeviceConfig(int, int, int, int, int, int) - Constructor for class jdk.dio.spibus.SPIDeviceConfig
-
- SPIDeviceConfig(int, int, int, int, int, int, int) - Constructor for class jdk.dio.spibus.SPIDeviceConfig
-
- SPIDeviceConfig(String, int, int, int, int, int) - Constructor for class jdk.dio.spibus.SPIDeviceConfig
-
- SPIDeviceConfig(String, int, int, int, int, int, int) - Constructor for class jdk.dio.spibus.SPIDeviceConfig
-
- SPIDeviceConfig.Builder - Class in jdk.dio.spibus
-
The Builder
class allows for creating and initializing
SPIDeviceConfig
objects.
- SPIDeviceConfig.Builder() - Constructor for class jdk.dio.spibus.SPIDeviceConfig.Builder
-
Creates a new Builder
instance.
- SPIPermission - Class in jdk.dio.spibus
-
The SPIPermission
class defines permissions for SPI slave device access.
- SPIPermission(String) - Constructor for class jdk.dio.spibus.SPIPermission
-
Constructs a new ADCPermission
with the specified target name and the implicit open
action.
- SPIPermission(String, String) - Constructor for class jdk.dio.spibus.SPIPermission
-
Constructs a new SPIPermission
instance with the specified target name and action list.
- start(long) - Method in interface jdk.dio.watchdog.WatchdogTimer
-
Starts the watchdog timer with the specified timeout.
- start(long) - Method in interface jdk.dio.watchdog.WindowedWatchdogTimer
-
Starts the watchdog timer with the specified timeout and with a closed window delay set to 0
.
- start(long, long) - Method in interface jdk.dio.watchdog.WindowedWatchdogTimer
-
Starts the windowed watchdog timer with the specified closed window delay and timeout.
- startAcquisition(IntBuffer, AcquisitionRoundListener) - Method in interface jdk.dio.adc.ADCChannel
-
Starts asynchronous analog input acquisition on this channel and reads a series of raw
sampled input values.
- startAcquisition(IntBuffer, IntBuffer, AcquisitionRoundListener) - Method in interface jdk.dio.adc.ADCChannel
-
Starts asynchronous analog input acquisition on this channel and reads a series of raw
sampled input values.
- startCounting() - Method in interface jdk.dio.counter.PulseCounter
-
Starts a pulse counting session.
- startCounting(int, long, CountingListener) - Method in interface jdk.dio.counter.PulseCounter
-
Starts an asynchronous pulse counting session.
- startGeneration(IntBuffer, GenerationRoundListener) - Method in interface jdk.dio.dac.DACChannel
-
Starts asynchronous analog output generation on this channel from a series of raw output
values (samples).
- startGeneration(IntBuffer, IntBuffer, GenerationRoundListener) - Method in interface jdk.dio.dac.DACChannel
-
Starts asynchronous analog output generation on this channel from a series of raw output
values (samples).
- startGeneration(int) - Method in interface jdk.dio.pwm.PWMChannel
-
Starts an asynchronous pulse train generation session - continuously generating pulses of the specified width
until explicitly stopped.
- startGeneration(int, int, GenerationListener) - Method in interface jdk.dio.pwm.PWMChannel
-
Starts an asynchronous pulse train generation session - generating pulses of the specified width up to the
specified count.
- startGeneration(IntBuffer, GenerationRoundListener) - Method in interface jdk.dio.pwm.PWMChannel
-
Starts asynchronous pulse train generation in successive rounds - initially generating pulses of the specified
widths up to the specified initial count - as indicated by the number of remaining elements in the provided
buffer.
- startGeneration(IntBuffer, IntBuffer, GenerationRoundListener) - Method in interface jdk.dio.pwm.PWMChannel
-
Starts asynchronous pulse train generation in successive rounds.
- startMonitoring(int, int, MonitoringListener) - Method in interface jdk.dio.adc.ADCChannel
-
Starts monitoring this channel analog input and asynchronously notifies the provided
MonitoringListener
instance when this channel's raw sampled input value gets out of
or back in the specified range (as defined by a low and a high threshold value).
- startReading(ByteBuffer, InputRoundListener<UART, ByteBuffer>) - Method in interface jdk.dio.uart.UART
-
Starts asynchronous reading in successive rounds - reading data into the provided
buffer.
- startReading(ByteBuffer, ByteBuffer, InputRoundListener<UART, ByteBuffer>) - Method in interface jdk.dio.uart.UART
-
Starts asynchronous reading in successive rounds.
- startWriting(ByteBuffer, OutputRoundListener<UART, ByteBuffer>) - Method in interface jdk.dio.uart.UART
-
Starts asynchronous writing in successive rounds - initially writing the data remaining in the provided
buffer.
- startWriting(ByteBuffer, ByteBuffer, OutputRoundListener<UART, ByteBuffer>) - Method in interface jdk.dio.uart.UART
-
Starts asynchronous writing in successive rounds.
- stop() - Method in interface jdk.dio.watchdog.WatchdogTimer
-
Stops this watchdog timer.
- stopAcquisition() - Method in interface jdk.dio.adc.ADCChannel
-
Stops the asynchronous analog input acquisition on this channel as started by a call to one
of the
startAcquisition
methods.
- STOPBITS_1 - Static variable in class jdk.dio.uart.UARTConfig
-
Number of STOP bits - 1.
- STOPBITS_1_5 - Static variable in class jdk.dio.uart.UARTConfig
-
Number of STOP bits - 1-1/2.
- STOPBITS_2 - Static variable in class jdk.dio.uart.UARTConfig
-
Number of STOP bits - 2.
- stopCounting() - Method in interface jdk.dio.counter.PulseCounter
-
Stops the pulse counting and freezes the current count value.
- stopGeneration() - Method in interface jdk.dio.dac.DACChannel
-
Stops the asynchronous analog output generation on this channel as started by a call to one
of the
startGeneration
methods.
- stopGeneration() - Method in interface jdk.dio.pwm.PWMChannel
-
Stops (cancels) the currently active pulse generation session as started by a call to one
of the
startGeneration
methods.
- stopMonitoring() - Method in interface jdk.dio.adc.ADCChannel
-
Stops the range monitoring of this channel analog input as started by a call to the
startMonitoring
method.
- stopReading() - Method in interface jdk.dio.uart.UART
-
Stops (cancels) the currently active asynchronous reading session as started by a call to one
of the
startReading
methods.
- stopWriting() - Method in interface jdk.dio.uart.UART
-
Stops (cancels) the currently active asynchronous writing session as started by a call to one
of the
startWriting
methods.
- suspendCounting() - Method in interface jdk.dio.counter.PulseCounter
-
Suspends the pulse counting and freezes the current count value.