public class AnalogTriggerOutput extends DigitalSource
Modifier and Type | Class and Description |
---|---|
class |
AnalogTriggerOutput.AnalogTriggerOutputException
Exceptions dealing with improper operation of the Analog trigger output
|
static class |
AnalogTriggerOutput.AnalogTriggerType
Defines the state in which the AnalogTrigger triggers
|
channels, m_channel, m_port
interrupts, m_interrupt, m_interruptIndex, m_isSynchronousInterrupt
kAnalogInputChannels, kAnalogOutputChannels, kDigitalChannels, kPDPChannels, kPwmChannels, kRelayChannels, kSolenoidChannels, kSolenoidModules, kSystemClockTicksPerMicrosecond
Constructor and Description |
---|
AnalogTriggerOutput(AnalogTrigger trigger,
AnalogTriggerOutput.AnalogTriggerType outputType)
Create an object that represents one of the four outputs from an analog
trigger.
|
Modifier and Type | Method and Description |
---|---|
void |
free()
Free the resources used by this object
|
boolean |
get()
Get the state of the analog trigger output.
|
boolean |
getAnalogTriggerForRouting()
Is this an analog trigger
|
int |
getChannelForRouting()
Get the channel routing number
|
byte |
getModuleForRouting()
Get the module routing number
|
initDigitalPort
allocateInterrupts, cancelInterrupts, disableInterrupts, enableInterrupts, readFallingTimestamp, readRisingTimestamp, requestInterrupts, requestInterrupts, setUpSourceEdge, waitForInterrupt, waitForInterrupt
checkAnalogInputChannel, checkAnalogOutputChannel, checkDigitalChannel, checkPDPChannel, checkPWMChannel, checkRelayChannel, checkSolenoidChannel, checkSolenoidModule, getDefaultSolenoidModule, setDefaultSolenoidModule
public AnalogTriggerOutput(AnalogTrigger trigger, AnalogTriggerOutput.AnalogTriggerType outputType)
trigger
- The trigger for which this is an output.outputType
- An enum that specifies the output on the trigger to represent.public void free()
SensorBase
free
in class DigitalSource
public boolean get()
public int getChannelForRouting()
DigitalSource
getChannelForRouting
in class DigitalSource
public byte getModuleForRouting()
DigitalSource
getModuleForRouting
in class DigitalSource
public boolean getAnalogTriggerForRouting()
DigitalSource
getAnalogTriggerForRouting
in class DigitalSource
Copyright © 2015. All rights reserved.