]> begriffs open source - cmsis-driver-validation/blob - Tools/USART_Server/Config/USART_Server_Config.h
Add pack version information in Test Report
[cmsis-driver-validation] / Tools / USART_Server / Config / USART_Server_Config.h
1 /*
2  * Copyright (c) 2020-2021 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 configuration file
22  *
23  * -----------------------------------------------------------------------------
24  */
25
26 #ifndef  USART_SERVER_CONFIG_H_
27 #define  USART_SERVER_CONFIG_H_
28
29 //-------- <<< Use Configuration Wizard in Context Menu >>> --------------------
30
31 // <h> USART Server
32 //   <i> USART Server configuration.
33 //   <i> Fixed settings used by the USART Server for command exchange are:
34 //   <i> Baudrate: 115200
35 //   <i> Data Bits: 8
36 //   <i> Parity: None
37 //   <i> Stop Bits: 1
38 //   <i> Flow Control: None
39 //   <o0> Driver_USART# <0-255>
40 //     <i> Choose the Driver_USART# instance.
41 //     <i> For example to use Driver_USART0 select 0.
42 //     <h> Communication settings
43 //       <i> These settings specify configurable settings used by the USART Server for command exchange.
44 //       <o1> Mode
45 //         <i> Select mode setting used by the USART Server.
46 //         <1=> Asynchronous
47 //         <4=> Single-wire
48 //         <5=> IrDA
49 //     </h>
50 // </h>
51
52 #define  USART_SERVER_DRV_NUM           0
53 #define  USART_SERVER_MODE              1
54 #define  USART_SERVER_BUF_SIZE          4096
55 #define  USART_SERVER_CMD_TIMEOUT       100
56
57 #endif