Enum Class Architecture

java.lang.Object
java.lang.Enum<Architecture>
io.github.jabrena.juno.board.Architecture
All Implemented Interfaces:
Serializable, Comparable<Architecture>, Constable

public enum Architecture extends Enum<Architecture>
The instruction set an ArduinoCore runs generated code on, which picks the code generator: the UNO R4's Cortex-M4 and the UNO Q's Cortex-M33 share one Thumb-2 backend, the UNO WiFi Rev2's ATmega4809 has its own AVR one.
  • Enum Constant Details

    • THUMB2

      public static final Architecture THUMB2
      ARMv7-M/ARMv8-M Thumb-2: 32-bit registers and pointers.
    • AVR

      public static final Architecture AVR
      8-bit AVR (avrxmega3): 16-bit pointers, and a toolchain whose int and double are narrower than Java's.
  • Method Details

    • values

      public static Architecture[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Architecture valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null