public static enum StandardDigitalOutputModeConfig.OutputMode extends Enum<StandardDigitalOutputModeConfig.OutputMode>
Enum Constant and Description |
---|
PUSH_PULL
This is a combination of sinking and sourcing.
|
SINKING_NPN
When the digital output is off, the pin allows a current to flow to the ground.
|
SOURCING_PNP
When the digital output is on, the pin provides a positive voltage source.
|
Modifier and Type | Method and Description |
---|---|
static StandardDigitalOutputModeConfig.OutputMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StandardDigitalOutputModeConfig.OutputMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StandardDigitalOutputModeConfig.OutputMode SINKING_NPN
public static final StandardDigitalOutputModeConfig.OutputMode SOURCING_PNP
public static final StandardDigitalOutputModeConfig.OutputMode PUSH_PULL
public static StandardDigitalOutputModeConfig.OutputMode[] values()
for (StandardDigitalOutputModeConfig.OutputMode c : StandardDigitalOutputModeConfig.OutputMode.values()) System.out.println(c);
public static StandardDigitalOutputModeConfig.OutputMode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2021. All rights reserved.