Skip navigation links
A C D E F G H I L N O R S T U V W 

A

addHandle(GpioEventHandle, int) - Method in class io.dvlopt.linux.gpio.GpioEventWatcher
Adds a GPIO event to monitor.
addLine(int) - Method in class io.dvlopt.linux.gpio.GpioHandleRequest
Adds a GPIO line to the request.
addLine(int, boolean) - Method in class io.dvlopt.linux.gpio.GpioHandleRequest
Adds a GPIO line to the request with a default value.

C

clear() - Method in class io.dvlopt.linux.gpio.GpioBuffer
Clears this buffer by setting every state to false.
close() - Method in class io.dvlopt.linux.gpio.GpioDevice
Closes this GPIO device.
close() - Method in class io.dvlopt.linux.gpio.GpioEventHandle
Closes this GPIO handle and releases resources.
close() - Method in class io.dvlopt.linux.gpio.GpioEventWatcher
Closes this instance and release associated resources.
close() - Method in class io.dvlopt.linux.gpio.GpioHandle
Closes this GPIO handle and releases resources.
consumer - Variable in class io.dvlopt.linux.gpio.internal.NativeGpioEventRequest
 
consumer - Variable in class io.dvlopt.linux.gpio.internal.NativeGpioHandleRequest
 
consumer - Variable in class io.dvlopt.linux.gpio.internal.NativeGpioLineInfo
 

D

defaultValues - Variable in class io.dvlopt.linux.gpio.internal.NativeGpioHandleRequest
 

E

equals(GpioFlags) - Method in class io.dvlopt.linux.gpio.GpioFlags
Are those two flags equal ?
equals(Object) - Method in class io.dvlopt.linux.gpio.GpioFlags
 
eventFlags - Variable in class io.dvlopt.linux.gpio.internal.NativeGpioEventRequest
 

F

fd - Variable in class io.dvlopt.linux.gpio.internal.NativeGpioEventRequest
 
fd - Variable in class io.dvlopt.linux.gpio.internal.NativeGpioHandleRequest
 
flags - Variable in class io.dvlopt.linux.gpio.internal.NativeGpioHandleRequest
 
flags - Variable in class io.dvlopt.linux.gpio.internal.NativeGpioLineInfo
 

G

get(GpioLine) - Method in class io.dvlopt.linux.gpio.GpioBuffer
Retrieves the state of a given line.
getConsumer() - Method in class io.dvlopt.linux.gpio.GpioEventRequest
Retrieves the consumer this line will be request under.
getConsumer() - Method in class io.dvlopt.linux.gpio.GpioHandleRequest
Retrieves the consumer of this request.
getConsumer() - Method in class io.dvlopt.linux.gpio.GpioLineInfo
Retrieves the current consumer of this line.
getEdgeDetection() - Method in class io.dvlopt.linux.gpio.GpioEventRequest
Retrieves what kind of edge-detection this request if for.
getFieldOrder() - Method in class io.dvlopt.linux.gpio.internal.NativeGpioChipInfo
 
getFieldOrder() - Method in class io.dvlopt.linux.gpio.internal.NativeGpioEventData
 
getFieldOrder() - Method in class io.dvlopt.linux.gpio.internal.NativeGpioEventRequest
 
getFieldOrder() - Method in class io.dvlopt.linux.gpio.internal.NativeGpioHandleRequest
 
getFieldOrder() - Method in class io.dvlopt.linux.gpio.internal.NativeGpioLineInfo
 
getFlags() - Method in class io.dvlopt.linux.gpio.GpioEventRequest
 
getFlags() - Method in class io.dvlopt.linux.gpio.GpioHandleRequest
Retrieves the flags specifying how the lines will be handled.
getFlags() - Method in class io.dvlopt.linux.gpio.GpioLineInfo
Retrieves flags qualifying this line.
getId() - Method in class io.dvlopt.linux.gpio.GpioEvent
Retrieves the id associated with this event.
getLabel() - Method in class io.dvlopt.linux.gpio.GpioChipInfo
Retrieves the label of this GPIO device.
getLine() - Method in class io.dvlopt.linux.gpio.GpioEventHandle
Retrieves the GPIO line associated with this handle.
getLine() - Method in class io.dvlopt.linux.gpio.GpioEventRequest
Retrieves which line will be requested.
getLine() - Method in class io.dvlopt.linux.gpio.GpioLineInfo
Retrieves the number of this line.
getLines() - Method in class io.dvlopt.linux.gpio.GpioChipInfo
Retrieves how many lines this GPIO device can handle, at most 64.
getName() - Method in class io.dvlopt.linux.gpio.GpioChipInfo
Retrieves the name of this GPIO device.
getName() - Method in class io.dvlopt.linux.gpio.GpioLineInfo
Retrieves the name of this line.
getNanoTimestamp() - Method in class io.dvlopt.linux.gpio.GpioEvent
Retrieves the best estimation of when the event happened.
GpioBuffer - Class in io.dvlopt.linux.gpio
Class representing a buffer for reading and/or writing the state of up to 64 GPIO lines.
GpioBuffer() - Constructor for class io.dvlopt.linux.gpio.GpioBuffer
Basic constructor.
GpioChipInfo - Class in io.dvlopt.linux.gpio
Class holding information about a GPIO device.
GpioChipInfo() - Constructor for class io.dvlopt.linux.gpio.GpioChipInfo
Basic constructor
GpioDevice - Class in io.dvlopt.linux.gpio
Class for requesting and handling a GPIO device.
GpioDevice(String) - Constructor for class io.dvlopt.linux.gpio.GpioDevice
Opens the GPIO device located at the given path.
GpioDevice(int) - Constructor for class io.dvlopt.linux.gpio.GpioDevice
Opens a GPIO device by number.
GpioEdgeDetection - Enum in io.dvlopt.linux.gpio
Class representing edge-detection for a GPIO event.
GpioEvent - Class in io.dvlopt.linux.gpio
Class for holding information about a GPIO event.
GpioEvent() - Constructor for class io.dvlopt.linux.gpio.GpioEvent
Basic constructor.
GpioEventHandle - Class in io.dvlopt.linux.gpio
Class for controlling a GPIO line that can be monitored for interrupts.
GpioEventRequest - Class in io.dvlopt.linux.gpio
Class representing a request for obtaining a GPIO event handle for reading a line and especially setting edge-detection.
GpioEventRequest(int) - Constructor for class io.dvlopt.linux.gpio.GpioEventRequest
Basic constructor requesting a regular input for both rising and falling edge.
GpioEventRequest(int, GpioEdgeDetection) - Constructor for class io.dvlopt.linux.gpio.GpioEventRequest
Constructor requesting a regular input leaving the choice of edge-detection.
GpioEventRequest(int, GpioEdgeDetection, GpioFlags) - Constructor for class io.dvlopt.linux.gpio.GpioEventRequest
Constructor leaving all configuration to the user.
GpioEventWatcher - Class in io.dvlopt.linux.gpio
Class for efficiently monitoring several GPIO events at once.
GpioEventWatcher() - Constructor for class io.dvlopt.linux.gpio.GpioEventWatcher
Basic constructor allocating the needed resources.
GpioFlags - Class in io.dvlopt.linux.gpio
Class for specifying how lines are handled or will be handled.
GpioFlags() - Constructor for class io.dvlopt.linux.gpio.GpioFlags
Basic constructor.
GpioHandle - Class in io.dvlopt.linux.gpio
Class for controlling requested GPIO lines.
GpioHandleRequest - Class in io.dvlopt.linux.gpio
Class representing a request for obtaining a GPIO handle for controlling the needed lines.
GpioHandleRequest() - Constructor for class io.dvlopt.linux.gpio.GpioHandleRequest
Basic constructor, by default lines will be requested as they are.
GPIOHANDLES_MAX - Static variable in class io.dvlopt.linux.gpio.internal.NativeGpioHandleRequest
 
GpioLine - Class in io.dvlopt.linux.gpio
Class representing a GPIO line.
GpioLineInfo - Class in io.dvlopt.linux.gpio
Class holding information about a GPIO line.
GpioLineInfo() - Constructor for class io.dvlopt.linux.gpio.GpioLineInfo
Basic constructor.

H

handleFlags - Variable in class io.dvlopt.linux.gpio.internal.NativeGpioEventRequest
 

I

id - Variable in class io.dvlopt.linux.gpio.internal.NativeGpioEventData
 
io.dvlopt.linux.gpio - package io.dvlopt.linux.gpio
Package for handling GPIO using the standard API provided by Linux.
io.dvlopt.linux.gpio.internal - package io.dvlopt.linux.gpio.internal
Kept public in order for JNA to work properly, the user should not bother about this package.
isActiveLow() - Method in class io.dvlopt.linux.gpio.GpioFlags
Are those flags describing active low line(s) ?
isFalling() - Method in class io.dvlopt.linux.gpio.GpioEvent
Did this event happened on a falling edge ?
isInput() - Method in class io.dvlopt.linux.gpio.GpioFlags
Are those flags describing digital input(s) ?
isOpenDrain() - Method in class io.dvlopt.linux.gpio.GpioFlags
Are those flags describing open drain line(s) ?
isOpenSource() - Method in class io.dvlopt.linux.gpio.GpioFlags
Are those flags describing open source line(s) ?
isOutput() - Method in class io.dvlopt.linux.gpio.GpioFlags
Are those flags describing a digital output(s) ?
isRising() - Method in class io.dvlopt.linux.gpio.GpioEvent
Did this event happened on a rising edge ?
isUsed() - Method in class io.dvlopt.linux.gpio.GpioLineInfo
Is this line currently used ?

L

label - Variable in class io.dvlopt.linux.gpio.internal.NativeGpioChipInfo
 
line - Variable in class io.dvlopt.linux.gpio.internal.NativeGpioEventRequest
 
line - Variable in class io.dvlopt.linux.gpio.internal.NativeGpioLineInfo
 
lineNumber - Variable in class io.dvlopt.linux.gpio.GpioLine
The number of the line.
lineOffsets - Variable in class io.dvlopt.linux.gpio.internal.NativeGpioHandleRequest
 
lines - Variable in class io.dvlopt.linux.gpio.internal.NativeGpioChipInfo
 
lines - Variable in class io.dvlopt.linux.gpio.internal.NativeGpioHandleRequest
 

N

name - Variable in class io.dvlopt.linux.gpio.internal.NativeGpioChipInfo
 
name - Variable in class io.dvlopt.linux.gpio.internal.NativeGpioLineInfo
 
NativeGpioChipInfo - Class in io.dvlopt.linux.gpio.internal
This class has be to public for JNA to work as needed, the user should not care about it.
NativeGpioChipInfo() - Constructor for class io.dvlopt.linux.gpio.internal.NativeGpioChipInfo
 
NativeGpioEventData - Class in io.dvlopt.linux.gpio.internal
This class has be to public for JNA to work as needed, the user should not care about it.
NativeGpioEventData() - Constructor for class io.dvlopt.linux.gpio.internal.NativeGpioEventData
 
NativeGpioEventRequest - Class in io.dvlopt.linux.gpio.internal
This class has be to public for JNA to work as needed, the user should not care about it.
NativeGpioEventRequest() - Constructor for class io.dvlopt.linux.gpio.internal.NativeGpioEventRequest
 
NativeGpioHandleRequest - Class in io.dvlopt.linux.gpio.internal
This class has be to public for JNA to work as needed, the user should not care about it.
NativeGpioHandleRequest() - Constructor for class io.dvlopt.linux.gpio.internal.NativeGpioHandleRequest
 
NativeGpioLineInfo - Class in io.dvlopt.linux.gpio.internal
This class has be to public for JNA to work as needed, the user should not care about it.
NativeGpioLineInfo() - Constructor for class io.dvlopt.linux.gpio.internal.NativeGpioLineInfo
 

O

OFFSET_CONSUMER - Static variable in class io.dvlopt.linux.gpio.internal.NativeGpioEventRequest
 
OFFSET_CONSUMER - Static variable in class io.dvlopt.linux.gpio.internal.NativeGpioHandleRequest
 
OFFSET_CONSUMER - Static variable in class io.dvlopt.linux.gpio.internal.NativeGpioLineInfo
 
OFFSET_DEFAULT_VALUES - Static variable in class io.dvlopt.linux.gpio.internal.NativeGpioHandleRequest
 
OFFSET_EVENT_FLAGS - Static variable in class io.dvlopt.linux.gpio.internal.NativeGpioEventRequest
 
OFFSET_FD - Static variable in class io.dvlopt.linux.gpio.internal.NativeGpioEventRequest
 
OFFSET_FD - Static variable in class io.dvlopt.linux.gpio.internal.NativeGpioHandleRequest
 
OFFSET_FLAGS - Static variable in class io.dvlopt.linux.gpio.internal.NativeGpioHandleRequest
 
OFFSET_FLAGS - Static variable in class io.dvlopt.linux.gpio.internal.NativeGpioLineInfo
 
OFFSET_HANDLE_FLAGS - Static variable in class io.dvlopt.linux.gpio.internal.NativeGpioEventRequest
 
OFFSET_LABEL - Static variable in class io.dvlopt.linux.gpio.internal.NativeGpioChipInfo
 
OFFSET_LINE - Static variable in class io.dvlopt.linux.gpio.internal.NativeGpioEventRequest
 
OFFSET_LINE - Static variable in class io.dvlopt.linux.gpio.internal.NativeGpioLineInfo
 
OFFSET_LINE_OFFSETS - Static variable in class io.dvlopt.linux.gpio.internal.NativeGpioHandleRequest
 
OFFSET_LINES - Static variable in class io.dvlopt.linux.gpio.internal.NativeGpioChipInfo
 
OFFSET_LINES - Static variable in class io.dvlopt.linux.gpio.internal.NativeGpioHandleRequest
 
OFFSET_NAME - Static variable in class io.dvlopt.linux.gpio.internal.NativeGpioChipInfo
 
OFFSET_NAME - Static variable in class io.dvlopt.linux.gpio.internal.NativeGpioLineInfo
 

R

read(GpioBuffer) - Method in class io.dvlopt.linux.gpio.GpioEventHandle
Reads the current state of the line this handle controls and write it back to the given buffer.
read(GpioBuffer) - Method in class io.dvlopt.linux.gpio.GpioHandle
Reads the current state of the lines this handle controls and writes it back to the given buffer.
readId() - Method in class io.dvlopt.linux.gpio.internal.NativeGpioEventData
 
readTimestamp() - Method in class io.dvlopt.linux.gpio.internal.NativeGpioEventData
 
removeHandle(GpioEventHandle) - Method in class io.dvlopt.linux.gpio.GpioEventWatcher
Removes a GPIO event from being monitored.
requestChipInfo() - Method in class io.dvlopt.linux.gpio.GpioDevice
Obtains information about this GPIO device.
requestChipInfo(GpioChipInfo) - Method in class io.dvlopt.linux.gpio.GpioDevice
Obtains information about this GPIO device and writes it to `info`.
requestEvent(GpioEventRequest) - Method in class io.dvlopt.linux.gpio.GpioDevice
Obtains a GPIO event handle for a GPIO line.
requestHandle(GpioHandleRequest) - Method in class io.dvlopt.linux.gpio.GpioDevice
Obtains a GPIO handle for driving the requested GPIO lines.
requestLineInfo(int) - Method in class io.dvlopt.linux.gpio.GpioDevice
Obtains information about a particular GPIO line from this GPIO device.
requestLineInfo(int, GpioLineInfo) - Method in class io.dvlopt.linux.gpio.GpioDevice
Obtains information about a particular GPIO line from this GPIO device and writes it to `info`.

S

set(GpioLine, boolean) - Method in class io.dvlopt.linux.gpio.GpioBuffer
Sets the new state of a given line.
setActiveLow(boolean) - Method in class io.dvlopt.linux.gpio.GpioFlags
Sets or not to active low, meaning the kernel will inverse values.
setConsumer(String) - Method in class io.dvlopt.linux.gpio.GpioEventRequest
Sets the consumer this line will be request under.
setConsumer(String) - Method in class io.dvlopt.linux.gpio.GpioHandleRequest
Sets the consumer of the requested lines.
setEdgeDetection(GpioEdgeDetection) - Method in class io.dvlopt.linux.gpio.GpioEventRequest
Selects edge-detection.
setFlags(GpioFlags) - Method in class io.dvlopt.linux.gpio.GpioEventRequest
 
setFlags(GpioFlags) - Method in class io.dvlopt.linux.gpio.GpioHandleRequest
Sets flags specifying how the lines will be handled.
setInput() - Method in class io.dvlopt.linux.gpio.GpioFlags
Sets as a digital input.
setLine(int) - Method in class io.dvlopt.linux.gpio.GpioEventRequest
Selects which line will be requested.
setOpenDrain(boolean) - Method in class io.dvlopt.linux.gpio.GpioFlags
Sets or not to open drain.
setOpenSource(boolean) - Method in class io.dvlopt.linux.gpio.GpioFlags
Sets or not to open source.
setOutput() - Method in class io.dvlopt.linux.gpio.GpioFlags
Sets as a digital output.
SIZE - Static variable in class io.dvlopt.linux.gpio.GpioBuffer
How many lines a buffer can drive.
SIZE - Static variable in class io.dvlopt.linux.gpio.internal.NativeGpioChipInfo
 
SIZE - Static variable in class io.dvlopt.linux.gpio.internal.NativeGpioEventData
 
SIZE - Static variable in class io.dvlopt.linux.gpio.internal.NativeGpioEventRequest
 
SIZE - Static variable in class io.dvlopt.linux.gpio.internal.NativeGpioHandleRequest
 
SIZE - Static variable in class io.dvlopt.linux.gpio.internal.NativeGpioLineInfo
 

T

timestamp - Variable in class io.dvlopt.linux.gpio.internal.NativeGpioEventData
 
toggle(GpioLine) - Method in class io.dvlopt.linux.gpio.GpioBuffer
Toggles the state of a given line.

U

unsetFlags() - Method in class io.dvlopt.linux.gpio.GpioEventRequest
 
unsetFlags() - Method in class io.dvlopt.linux.gpio.GpioHandleRequest
The lines will be requested as they are.

V

valueOf(String) - Static method in enum io.dvlopt.linux.gpio.GpioEdgeDetection
Returns the enum constant of this type with the specified name.
values() - Static method in enum io.dvlopt.linux.gpio.GpioEdgeDetection
Returns an array containing the constants of this enum type, in the order they are declared.

W

waitForEvent() - Method in class io.dvlopt.linux.gpio.GpioEventHandle
Waits for an event to happen.
waitForEvent(GpioEvent) - Method in class io.dvlopt.linux.gpio.GpioEventHandle
Waits for an event to happen and writes what happened to the given `data` object.
waitForEvent(GpioEvent) - Method in class io.dvlopt.linux.gpio.GpioEventWatcher
Waits forever until a GPIO event occurs.
waitForEvent(GpioEvent, int) - Method in class io.dvlopt.linux.gpio.GpioEventWatcher
Waits `timeout` milliseconds at most until a GPIO event occurs.
write(GpioBuffer) - Method in class io.dvlopt.linux.gpio.GpioHandle
Writes the new state of the lines this handle controls using the given buffer.
A C D E F G H I L N O R S T U V W 
Skip navigation links