Package edu.wpi.first.hal
Class DMAJNI
java.lang.Object
edu.wpi.first.hal.JNIWrapper
edu.wpi.first.hal.DMAJNI
public class DMAJNI extends JNIWrapper
-
Nested Class Summary
-
Constructor Summary
Constructors Constructor Description DMAJNI()
-
Method Summary
Modifier and Type Method Description static void
addAnalogAccumulator(int handle, int analogInputHandle)
static void
addAnalogInput(int handle, int analogInputHandle)
static void
addAveragedAnalogInput(int handle, int analogInputHandle)
static void
addCounter(int handle, int counterHandle)
static void
addCounterPeriod(int handle, int counterHandle)
static void
addDigitalSource(int handle, int digitalSourceHandle)
static void
addDutyCycle(int handle, int dutyCycleHandle)
static void
addEncoder(int handle, int encoderHandle)
static void
addEncoderPeriod(int handle, int encoderHandle)
static void
clearExternalTriggers(int handle)
static void
clearSensors(int handle)
static void
free(int handle)
static edu.wpi.first.hal.DMAJNISample.BaseStore
getSensorReadData(int handle)
static int
initialize()
static long
readDMA(int handle, double timeoutSeconds, int[] buffer, int[] sampleStore)
static int
setExternalTrigger(int handle, int digitalSourceHandle, int analogTriggerType, boolean rising, boolean falling)
static void
setPause(int handle, boolean pause)
static void
setTimedTrigger(int handle, double periodSeconds)
static void
setTimedTriggerCycles(int handle, int cycles)
static void
startDMA(int handle, int queueDepth)
static void
stopDMA(int handle)
-
Constructor Details
-
Method Details
-
initialize
-
free
-
setPause
-
setTimedTrigger
-
setTimedTriggerCycles
-
addEncoder
-
addEncoderPeriod
-
addCounter
-
addCounterPeriod
-
addDigitalSource
-
addDutyCycle
-
addAnalogInput
-
addAveragedAnalogInput
-
addAnalogAccumulator
-
setExternalTrigger
public static int setExternalTrigger(int handle, int digitalSourceHandle, int analogTriggerType, boolean rising, boolean falling) -
clearSensors
-
clearExternalTriggers
-
startDMA
-
stopDMA
-
readDMA
-
getSensorReadData
-