21#ifndef INCLUDE_FEC_EIEIO_H
22#define INCLUDE_FEC_EIEIO_H
72 uint16_t packet_type : 2;
74 uint16_t payload_is_timestamp : 1;
76 uint16_t apply_payload_prefix : 1;
79 uint16_t prefix_upper : 1;
85 uint16_t packet_command : 14;
87 uint16_t packet_class : 2;
89 uint16_t overall_value;
106 PREFIX_TYPE_LOWER_HALF_WORD,
107 PREFIX_TYPE_UPPER_HALF_WORD
Data type definitions for SpiNNaker Neuron-modelling.
@ APPLY_PAYLOAD_PREFIX_MASK
eieio_header_bitfields::apply_payload_prefix
@ PACKET_CLASS_MASK
eieio_header_bitfields::packet_class
@ COUNT_MASK
eieio_header_bitfields::count
@ PREFIX_UPPER_MASK
eieio_header_bitfields::prefix_upper
@ PACKET_TYPE_MASK
eieio_header_bitfields::packet_type
@ PAYLOAD_IS_TIMESTAMP_MASK
eieio_header_bitfields::payload_is_timestamp
@ PACKET_COMMAND_MASK
eieio_header_bitfields::packet_command
@ APPLY_PREFIX_MASK
eieio_header_bitfields::apply_prefix
eieio_prefix_types
The EIEIO prefix types.
@ PACKET_CLASS
eieio_header_bitfields::packet_class
@ COUNT
eieio_header_bitfields::count
@ PAYLOAD_IS_TIMESTAMP
eieio_header_bitfields::payload_is_timestamp
@ PACKET_COMMAND
eieio_header_bitfields::packet_command
@ PACKET_TYPE
eieio_header_bitfields::packet_type
@ APPLY_PAYLOAD_PREFIX
eieio_header_bitfields::apply_payload_prefix
@ APPLY_PREFIX
eieio_header_bitfields::apply_prefix
@ PREFIX_UPPER
eieio_header_bitfields::prefix_upper
eieio_data_message_types
The EIEIO basic message types.
@ KEY_16_BIT
Message is just a key, 16 bits long.
@ KEY_32_BIT
Message is just a key, 32 bits long.
@ KEY_PAYLOAD_32_bIT
Message is a key and a payload, each 32 bits long.
@ KEY_PAYLOAD_16_BIT
Message is a key and a payload, each 16 bits long.
static bool apply_prefix
If a prefix should be applied.