枚举类 BCMEnums

java.lang.Object
java.lang.Enum<BCMEnums>
cn.tpkf.rpi.enums.BCMEnums
所有已实现的接口:
IBCMEnums, Serializable, Comparable<BCMEnums>, Constable

public enum BCMEnums extends Enum<BCMEnums> implements IBCMEnums
BCM/GPIO 引脚编号
作者:
Harlan
另请参阅:
  • 枚举常量详细资料

    • BCM_2

      public static final BCMEnums BCM_2
      I2C 1 SDA Data
    • BCM_3

      public static final BCMEnums BCM_3
      I2C 1 SCL Serial Clock
    • BCM_4

      public static final BCMEnums BCM_4
      BCM/GPIO 4 General Purpose CLock
    • BCM_17

      public static final BCMEnums BCM_17
      BCM/GPIO 17
    • BCM_27

      public static final BCMEnums BCM_27
      BCM/GPIO 27
    • BCM_22

      public static final BCMEnums BCM_22
      BCM/GPIO 22
    • BCM_10

      public static final BCMEnums BCM_10
      BCM/GPIO 10 Serial Peripheral Interface 0 Primary Out Alex In
    • BCM_9

      public static final BCMEnums BCM_9
      BCM/GPIO 9 Serial Peripheral Interface 0 Primary In Alex Out
    • BCM_11

      public static final BCMEnums BCM_11
      BCM/GPIO 11 Serial Peripheral Interface 0 Serial Clock
    • BCM_0

      public static final BCMEnums BCM_0
      BCM/GPIO 0 I2C 0 EEPROM Data
    • BCM_5

      public static final BCMEnums BCM_5
      BCM/GPIO 5
    • BCM_6

      public static final BCMEnums BCM_6
      BCM/GPIO 6
    • BCM_13

      public static final BCMEnums BCM_13
      BCM/GPIO 13 Pulse-width Modulation
    • BCM_19

      public static final BCMEnums BCM_19
      BCM/GPIO 19 Pulse-width Modulation
    • BCM_26

      public static final BCMEnums BCM_26
      BCM/GPIO 26
    • BCM_14

      public static final BCMEnums BCM_14
      BCM/GPIO 14 Universal Asynchronous Transmitter
    • BCM_15

      public static final BCMEnums BCM_15
      BCM/GPIO 15 Universal Asynchronous Receiver
    • BCM_18

      public static final BCMEnums BCM_18
      BCM/GPIO 18 PCM Clock
    • BCM_23

      public static final BCMEnums BCM_23
      BCM/GPIO 23
    • BCM_24

      public static final BCMEnums BCM_24
      BCM/GPIO 24
    • BCM_25

      public static final BCMEnums BCM_25
      BCM/GPIO 25
    • BCM_8

      public static final BCMEnums BCM_8
      BCM/GPIO 8 SPI0 CE0
    • BCM_7

      public static final BCMEnums BCM_7
      BCM/GPIO 7 SPI0 CE1
    • BCM_1

      public static final BCMEnums BCM_1
      BCM/GPIO 1 I2C 0 EEPROM Serial Clock
    • BCM_12

      public static final BCMEnums BCM_12
      BCM/GPIO 12 Pulse-width Modulation
    • BCM_16

      public static final BCMEnums BCM_16
      BCM/GPIO 16
    • BCM_20

      public static final BCMEnums BCM_20
      BCM/GPIO 20
    • BCM_21

      public static final BCMEnums BCM_21
      BCM/GPIO 21
  • 方法详细资料

    • values

      public static BCMEnums[] values()
      返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同
      返回:
      包含该枚举类的常量的数组,顺序与声明这些常量的顺序相同
    • valueOf

      public static BCMEnums valueOf(String name)
      返回带有指定名称的该类的枚举常量。 字符串必须与用于声明该类的枚举常量的 标识符完全匹配。(不允许有多余 的空格字符。)
      参数:
      name - 要返回的枚举常量的名称。
      返回:
      返回带有指定名称的枚举常量
      抛出:
      IllegalArgumentException - 如果该枚举类没有带有指定名称的常量
      NullPointerException - 如果参数为空值