SpiNNFrontEndCommon  development
Common support code for user-facing front end systems.
buffered_eieio_defs.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2015 The University of Manchester
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * https://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
23 
24 #ifndef BUFFERED_EIEIO_DEFS_H
25 #define BUFFERED_EIEIO_DEFS_H
26 
28 typedef enum eieio_command_messages {
48 
50 typedef enum buffered_operations {
56 
58 typedef uint16_t* eieio_msg_t;
59 
61 #define MAX_SEQUENCE_NO 0xFF
62 
63 #endif
buffered_operations
The different buffer operations.
@ BUFFER_OPERATION_READ
The last operation was a read.
@ BUFFER_OPERATION_WRITE
The last operation was a write.
eieio_command_messages
The different command message IDs.
@ STOP_SENDING_REQUESTS
Stop complaining that there is SDRAM free space for buffers.
@ 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.
@ HOST_SEND_SEQUENCED_DATA
Buffers being sent from host to SpiNNaker.
@ HOST_DATA_READ
Host confirming data being read form SpiNNaker memory.
@ HOST_DATA_READ_ACK
Host confirming message received to read data.
@ EVENT_PADDING
Fill in buffer area with padding.
@ START_SENDING_REQUESTS
Start complaining that there is SDRAM free space for buffers.
@ EVENT_STOP_COMMANDS
End of all buffers, stop execution.
uint16_t * eieio_msg_t
pointer to an EIEIO message