Class AbstractGpioChannel

java.lang.Object
io.openems.edge.io.gpio.api.AbstractGpioChannel
All Implemented Interfaces:
ChannelId
Direct Known Subclasses:
ReadChannelId, WriteChannelId

public abstract class AbstractGpioChannel extends Object implements ChannelId
  • Field Details

    • gpio

      public final int gpio
      The GPIO number of the hardware entity.
  • Constructor Details

  • Method Details

    • name

      public final String name()
      Description copied from interface: ChannelId
      Gets the name in format CaseFormat.UPPER_UNDERSCORE. This is available by default for an Enum.

      Names starting with underscore ("_") are reserved for internal usage.

      Specified by:
      name in interface ChannelId
      Returns:
      the name
    • doc

      public final Doc doc()
      Description copied from interface: ChannelId
      Gets the Channel Doc for this ChannelId.
      Specified by:
      doc in interface ChannelId
      Returns:
      the Channel-Doc