]> begriffs open source - cmsis-driver-validation/blob - Tools/SPI_Server/Include/SPI_Server.h
Update GitHub Actions runner to ubuntu-22.04 (#18)
[cmsis-driver-validation] / Tools / SPI_Server / Include / SPI_Server.h
1 /*
2  * Copyright (c) 2020-2022 Arm Limited. All rights reserved.
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  *
6  * Licensed under the Apache License, Version 2.0 (the License); you may
7  * not use this file except in compliance with the License.
8  * You may obtain a copy of the License at
9  *
10  * www.apache.org/licenses/LICENSE-2.0
11  *
12  * Unless required by applicable law or agreed to in writing, software
13  * distributed under the License is distributed on an AS IS BASIS, WITHOUT
14  * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15  * See the License for the specific language governing permissions and
16  * limitations under the License.
17  *
18  * -----------------------------------------------------------------------------
19  *
20  * Project:     SPI Server
21  * Title:       SPI Server header file
22  *
23  * -----------------------------------------------------------------------------
24  */
25
26 #ifndef SPI_SERVER_H_
27 #define SPI_SERVER_H_
28
29 #include <stdint.h>
30
31 #define SPI_SERVER_VER                 "1.1.2"
32
33 #define SPI_SERVER_STATE_RECEPTION      0
34 #define SPI_SERVER_STATE_EXECUTION      1
35 #define SPI_SERVER_STATE_TERMINATE      255
36
37
38 // Global functions
39 extern int32_t SPI_Server_Start (void);
40 extern int32_t SPI_Server_Stop  (void);
41
42 #endif