SpiNNFrontEndCommon 7.3.1
Common support code for user-facing front end systems.
|
EIEIO message header description. More...
#include <common-typedefs.h>
Go to the source code of this file.
Data Structures | |
union | eieio_header_bitfields |
The header of an EIEIO packet. More... | |
struct | eieio_header_bitfields.__unnamed1__ |
struct | eieio_header_bitfields.__unnamed3__ |
Enumerations | |
enum | eieio_bit_offsets { APPLY_PREFIX = 15 , PREFIX_UPPER = 14 , APPLY_PAYLOAD_PREFIX = 13 , PAYLOAD_IS_TIMESTAMP = 12 , PACKET_TYPE = 10 , COUNT = 0 , PACKET_CLASS = 14 , PACKET_COMMAND = 0 } |
enum | eieio_bit_masks { APPLY_PREFIX_MASK = 0x1 , PREFIX_UPPER_MASK = 0x1 , APPLY_PAYLOAD_PREFIX_MASK = 0x1 , PAYLOAD_IS_TIMESTAMP_MASK = 0x3 , PACKET_TYPE_MASK = 0x3 , COUNT_MASK = 0xFF , PACKET_CLASS_MASK = 0x3 , PACKET_COMMAND_MASK = 0x3FFF } |
enum | eieio_data_message_types { KEY_16_BIT , KEY_PAYLOAD_16_BIT , KEY_32_BIT , KEY_PAYLOAD_32_bIT } |
The EIEIO basic message types. More... | |
enum | eieio_prefix_types { PREFIX_TYPE_LOWER_HALF_WORD , PREFIX_TYPE_UPPER_HALF_WORD } |
The EIEIO prefix types. More... | |
EIEIO message header description.
Definition in file eieio.h.
union eieio_header_bitfields |
Data Fields | ||
---|---|---|
struct eieio_header_bitfields.__unnamed1__ | __unnamed__ | |
struct eieio_header_bitfields.__unnamed3__ | __unnamed__ | |
uint16_t | overall_value |
struct eieio_header_bitfields.__unnamed1__ |
Data Fields | ||
---|---|---|
uint16_t | count: 8 | The count. |
uint16_t | packet_type: 2 | The type of the packet (see eieio_data_message_types) |
uint16_t | payload_is_timestamp: 1 | Whether the payload is a timestamp. |
uint16_t | apply_payload_prefix: 1 | Whether to apply the current prefix to the payload. |
uint16_t | prefix_upper: 1 | Whether the prefix is applied to the upper or lower half of the payload. |
uint16_t | apply_prefix: 1 | Whether to apply the prefix. |
struct eieio_header_bitfields.__unnamed3__ |
Offsets into the eieio_header_bitfields structure.
These are bit offsets into a 16 bit unsigned integer.
Masks for the eieio_header_bitfields structure.
These apply after the value has been shifted into the low bits by the offset.