1 /*******************************************************************************
2  * @file  rsi_user.h
3  *******************************************************************************
4  * # License
5  * <b>Copyright 2024 Silicon Laboratories Inc. www.silabs.com</b>
6  *******************************************************************************
7  *
8  * SPDX-License-Identifier: Zlib
9  *
10  * The licensor of this software is Silicon Laboratories Inc.
11  *
12  * This software is provided 'as-is', without any express or implied
13  * warranty. In no event will the authors be held liable for any damages
14  * arising from the use of this software.
15  *
16  * Permission is granted to anyone to use this software for any purpose,
17  * including commercial applications, and to alter it and redistribute it
18  * freely, subject to the following restrictions:
19  *
20  * 1. The origin of this software must not be misrepresented; you must not
21  *    claim that you wrote the original software. If you use this software
22  *    in a product, an acknowledgment in the product documentation would be
23  *    appreciated but is not required.
24  * 2. Altered source versions must be plainly marked as such, and must not be
25  *    misrepresented as being the original software.
26  * 3. This notice may not be removed or altered from any source distribution.
27  *
28  ******************************************************************************/
29 
30 #ifndef RSI_USER_H
31 #define RSI_USER_H
32 /******************************************************
33  * *                      Macros
34  * ******************************************************/
35 
36 // Silicon Version 1.3
37 #define CHIP_VER_1P3 0
38 
39 // Silicon Version 1.4 and above
40 #define CHIP_VER_1P4_AND_ABOVE 1
41 
42 // To selcet Silicon version, select either of one from among two macros
43 #define RS9116_SILICON_CHIP_VER \
44   CHIP_VER_1P4_AND_ABOVE // Set 1 for Silicon Chip Version 1p4 and Above, 0 for Silicon Chip Version 1p3
45 
46 #define TX_WAIT_TIME 0
47 
48 #define BT_WAIT_TIMEOUT_SF        1
49 #define BLE_WAIT_TIMEOUT_SF       1
50 #define BT_COMMON_WAIT_TIMEOUT_SF 1
51 
52 /******************************************************
53  * *                    Constants
54  * ******************************************************/
55 /******************************************************
56  * *                   Enumerations
57  * ******************************************************/
58 /******************************************************
59  * *                 Type Definitions
60  * ******************************************************/
61 /******************************************************
62  * *                    Structures
63  * ******************************************************/
64 /******************************************************
65  * *                 Global Variables
66  * ******************************************************/
67 /******************************************************
68  * *               Function Declarations
69  * ******************************************************/
70 #endif
71