| Modifier and Type | Interface and Description |
|---|---|
interface |
AnalogInput
This interface specified the operations that can be used on a Pin that is
configured as an analog input.
|
interface |
DigitalInput
This interface specified the operations that can be used on a Pin that is
configured as a digital input.
|
interface |
DigitalIO
The Interface DigitalIO is a composition of the
interfaces
DigitalInput and DigitalOutput. |
interface |
DigitalOutput
This interface specified the operations that can be used on a Pin that is
configured as a digital output.
|
interface |
Pwm |
| Modifier and Type | Method and Description |
|---|---|
<T extends PinFeature> |
Pin.activateFeature(Class<T> feature)
Activates a feature on a pin.
|
<T extends PinFeature> |
Pin.as(Class<T> feature)
This is a very important method.
|
<T extends PinFeature> |
Pin.getFeature(Class<T> featureClass)
Grabs a feature from the pin, if it is available.
|
| Modifier and Type | Method and Description |
|---|---|
PinFeature |
Pin.getActiveFeature()
Gets the active feature.
|
PinFeature |
PinBlockedException.getBlocker()
Gets the blocker.
|
PinFeature |
Pin.getBlocker()
Gets the pin feature that currently blocks the pin.
|
| Modifier and Type | Method and Description |
|---|---|
List<PinFeature> |
Pin.getFeatures()
Gets a list of all available feature instances.
|
| Modifier and Type | Method and Description |
|---|---|
Pin |
Pin.addFeature(PinFeature feature)
Adds the feature to the pin.
|
void |
Pin.block(PinFeature blocker)
Blocks a pin.
|
protected void |
Pin.fireFeatureActivated(PinFeature feature)
This method fires the feature activated event.
|
protected void |
Pin.fireFeatureActivating(PinFeature feature)
This method fires the feature activating event.
|
protected void |
Pin.fireFeatureDeactivated(PinFeature feature)
This method fires the feature deactivated event.
|
protected void |
Pin.fireFeatureDeactivating(PinFeature feature)
This method fires the feature deactivating event.
|
boolean |
Pin.isFeatureActive(PinFeature feature)
Checks if the feature instance is currently active on this pin.
|
void |
Pin.unblock(PinFeature blocker)
Unblocks a pin if it is currently blocked.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
Pin.hasFeature(Class<? extends PinFeature> featureClass)
Checks if a feature class is available on a pin.
|
boolean |
Pin.isFeatureActive(Class<? extends PinFeature> featureClass)
Checks if a feature class is currently active on this pin.
|
Pin |
Pin.removeFeature(Class<? extends PinFeature> featureClass)
Removes a feature from a pin.
|
| Constructor and Description |
|---|
PinBlockedException(PinFeature blocker)
Instantiates a new pin blocked exception.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractAnalogInput |
class |
AbstractDigitalInput |
class |
AbstractDigitalOutput |
class |
AbstractPinFeature |
class |
AbstractPwm |
class |
DigitalIOFeature |
| Modifier and Type | Method and Description |
|---|---|
PinFeature |
FeatureActivationEventArgs.getPinFeature() |
| Constructor and Description |
|---|
FeatureActivationEventArgs(PinFeature feature) |
| Modifier and Type | Class and Description |
|---|---|
class |
SoftPwm |
| Modifier and Type | Interface and Description |
|---|---|
interface |
I2cPinFeature |
interface |
I2cScl |
interface |
I2cSda |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractI2cPinFeature |
| Modifier and Type | Interface and Description |
|---|---|
interface |
UartPinFeature |
interface |
UartRx |
interface |
UartTx |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractUartPinFeature |
Copyright © 2015 silverspoon.io. All rights reserved.