spinnman.messages.eieio package¶
Subpackages¶
- spinnman.messages.eieio.command_messages package
- Module contents
EIEIOCommandHeader
EIEIOCommandMessage
EventStopRequest
HostDataRead
HostDataReadAck
HostSendSequencedData
NotificationProtocolDatabaseLocation
NotificationProtocolPauseStop
NotificationProtocolStartResume
PaddingRequest
SpinnakerRequestBuffers
SpinnakerRequestBuffers.bytestring
SpinnakerRequestBuffers.from_bytestring()
SpinnakerRequestBuffers.get_min_packet_length()
SpinnakerRequestBuffers.p
SpinnakerRequestBuffers.region_id
SpinnakerRequestBuffers.sequence_no
SpinnakerRequestBuffers.space_available
SpinnakerRequestBuffers.x
SpinnakerRequestBuffers.y
SpinnakerRequestReadData
SpinnakerRequestReadData.bytestring
SpinnakerRequestReadData.channel()
SpinnakerRequestReadData.from_bytestring()
SpinnakerRequestReadData.get_min_packet_length()
SpinnakerRequestReadData.n_requests
SpinnakerRequestReadData.p
SpinnakerRequestReadData.region_id()
SpinnakerRequestReadData.sequence_no
SpinnakerRequestReadData.space_to_be_read()
SpinnakerRequestReadData.start_address()
SpinnakerRequestReadData.x
SpinnakerRequestReadData.y
StartRequests
StopRequests
- Module contents
- spinnman.messages.eieio.data_messages package
- Module contents
AbstractDataElement
EIEIODataHeader
EIEIODataHeader.bytestring
EIEIODataHeader.count
EIEIODataHeader.eieio_type
EIEIODataHeader.from_bytestring()
EIEIODataHeader.get_header_size()
EIEIODataHeader.increment_count()
EIEIODataHeader.is_time
EIEIODataHeader.payload_base
EIEIODataHeader.prefix
EIEIODataHeader.prefix_type
EIEIODataHeader.reset_count()
EIEIODataHeader.size
EIEIODataHeader.tag
EIEIODataMessage
EIEIODataMessage.add_element()
EIEIODataMessage.add_key()
EIEIODataMessage.add_key_and_payload()
EIEIODataMessage.bytestring
EIEIODataMessage.create()
EIEIODataMessage.eieio_header
EIEIODataMessage.get_min_packet_length()
EIEIODataMessage.is_next_element
EIEIODataMessage.max_n_elements
EIEIODataMessage.min_packet_length()
EIEIODataMessage.n_elements
EIEIODataMessage.next_element
EIEIODataMessage.size
KeyDataElement
KeyPayloadDataElement
- Module contents
Module contents¶
- class spinnman.messages.eieio.AbstractEIEIOMessage¶
Bases:
object
Interface for an EIEIOMessage.
- abstract property eieio_header: EIEIOCommandHeader | EIEIODataHeader¶
The header of the message.
- class spinnman.messages.eieio.EIEIOPrefix(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)¶
Bases:
Enum
Possible prefixing of keys in EIEIO packets.
- LOWER_HALF_WORD = 0¶
- UPPER_HALF_WORD = 1¶
- class spinnman.messages.eieio.EIEIOType(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)¶
Bases:
Enum
Possible types of EIEIO packets.
- KEY_16_BIT = 0¶
- KEY_32_BIT = 2¶
- KEY_PAYLOAD_16_BIT = 1¶
- KEY_PAYLOAD_32_BIT = 3¶
- spinnman.messages.eieio.read_eieio_command_message(data: bytes, offset: int) EIEIOCommandMessage ¶
Reads the content of an EIEIO command message and returns an object identifying the command which was contained in the packet, including any parameter, if required by the command.
- Parameters:
- Returns:
an object which inherits from EIEIOCommandMessage which contains parsed data received from the network
- Return type:
- spinnman.messages.eieio.read_eieio_data_message(data: bytes, offset: int) EIEIODataMessage ¶
Reads the content of an EIEIO data message and returns an object identifying the data which was contained in the packet.
- Parameters:
- Returns:
an object which inherits from EIEIODataMessage which contains parsed data received from the network
- Return type: