Enum Class Architecture
- All Implemented Interfaces:
Serializable, Comparable<Architecture>, Constable
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.-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic ArchitectureReturns the enum constant of this class with the specified name.static Architecture[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
THUMB2
ARMv7-M/ARMv8-M Thumb-2: 32-bit registers and pointers. -
AVR
8-bit AVR (avrxmega3): 16-bit pointers, and a toolchain whoseintanddoubleare narrower than Java's.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-