]> begriffs open source - cmsis-driver-validation/blob - Tools/USART_Server/Include/USART_Server.h
Minor update to USART_Server application
[cmsis-driver-validation] / Tools / USART_Server / Include / USART_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:     USART Server
21  * Title:       USART Server header file
22  *
23  * -----------------------------------------------------------------------------
24  */
25
26 #ifndef USART_SERVER_H_
27 #define USART_SERVER_H_
28
29 #include <stdint.h>
30
31 #define USART_SERVER_VER               "1.0.1"
32
33 #define USART_SERVER_STATE_RECEPTION    0
34 #define USART_SERVER_STATE_EXECUTION    1
35 #define USART_SERVER_STATE_TERMINATE    255
36
37
38 // Global functions
39 extern int32_t USART_Server_Start (void);
40 extern int32_t USART_Server_Stop  (void);
41
42 #endif