Enum Class EIEIOCommandID
- All Implemented Interfaces:
Serializable
,Comparable<EIEIOCommandID>
,Constable
,EIEIOCommand
What SpiNNaker-specific EIEIO commands there are.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionFill in buffer area with padding.End of all buffers, stop execution.Host confirming data being read form SpiNNaker memory.Host confirming request to read data received.Buffers being sent from host to SpiNNaker.Spinnaker requesting new buffers for spike source population.Buffers available to be read from a buffered out vertex.Start complaining that there is SDRAM free space for buffers.Stop complaining that there is SDRAM free space for buffers. -
Method Summary
Modifier and TypeMethodDescriptionstatic EIEIOCommand
get
(int command) Get a command given its encoded form.int
getValue()
Get the encoded ID number of the command.static EIEIOCommandID
Returns the enum constant of this class with the specified name.static EIEIOCommandID[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
EVENT_PADDING
Fill in buffer area with padding. -
EVENT_STOP
End of all buffers, stop execution. -
STOP_SENDING_REQUESTS
Stop complaining that there is SDRAM free space for buffers. -
START_SENDING_REQUESTS
Start complaining that there is SDRAM free space for buffers. -
SPINNAKER_REQUEST_BUFFERS
Spinnaker requesting new buffers for spike source population. -
HOST_SEND_SEQUENCED_DATA
Buffers being sent from host to SpiNNaker. -
SPINNAKER_REQUEST_READ_DATA
Buffers available to be read from a buffered out vertex. -
HOST_DATA_READ
Host confirming data being read form SpiNNaker memory. -
HOST_DATA_READ_ACK
Host confirming request to read data received.
-
-
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
-
getValue
public int getValue()Description copied from interface:EIEIOCommand
Get the encoded ID number of the command.- Specified by:
getValue
in interfaceEIEIOCommand
- Returns:
- The encoded form.
-
get
Get a command given its encoded form.- Parameters:
command
- the encoded command- Returns:
- the ID, or
null
if the encoded form was unrecognised.
-