Enum EIEIOCommandID
- All Implemented Interfaces:
Serializable
,Comparable<EIEIOCommandID>
,EIEIOCommand
public enum EIEIOCommandID extends Enum<EIEIOCommandID> implements EIEIOCommand
What SpiNNaker-specific EIEIO commands there are.
-
Enum Constant Summary
Enum Constants Enum Constant Description EVENT_PADDING
Fill in buffer area with padding.EVENT_STOP
End of all buffers, stop execution.HOST_DATA_READ
Host confirming data being read form SpiNNaker memory.HOST_DATA_READ_ACK
Host confirming request to read data received.HOST_SEND_SEQUENCED_DATA
Buffers being sent from host to SpiNNaker.SPINNAKER_REQUEST_BUFFERS
Spinnaker requesting new buffers for spike source population.SPINNAKER_REQUEST_READ_DATA
Buffers available to be read from a buffered out vertex.START_SENDING_REQUESTS
Start complaining that there is SDRAM free space for buffers.STOP_SENDING_REQUESTS
Stop complaining that there is SDRAM free space for buffers. -
Method Summary
Modifier and Type Method Description static EIEIOCommand
get(int command)
Get a command given its encoded form.int
getValue()
Get the encoded ID number of the command.static EIEIOCommandID
valueOf(String name)
Returns the enum constant of this type with the specified name.static EIEIOCommandID[]
values()
Returns an array containing the constants of this enum type, 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 type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type 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.
-