Vergil Cola
/
MQTTGateway2
Fork of my original MQTTGateway
easy-connect/stm-spirit1-rf-driver/source/libs/spirit1/SPIRIT1_Library/Inc/SPIRIT_Config.h@0:a1734fe1ec4b, 2017-04-08 (annotated)
- Committer:
- vpcola
- Date:
- Sat Apr 08 14:43:14 2017 +0000
- Revision:
- 0:a1734fe1ec4b
Initial commit
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
vpcola | 0:a1734fe1ec4b | 1 | /** |
vpcola | 0:a1734fe1ec4b | 2 | ****************************************************************************** |
vpcola | 0:a1734fe1ec4b | 3 | * @file SPIRIT_Config.h |
vpcola | 0:a1734fe1ec4b | 4 | * @author VMA division - AMS |
vpcola | 0:a1734fe1ec4b | 5 | * @version 3.2.2 |
vpcola | 0:a1734fe1ec4b | 6 | * @date 08-July-2015 |
vpcola | 0:a1734fe1ec4b | 7 | * @brief Spirit Configuration and useful defines |
vpcola | 0:a1734fe1ec4b | 8 | * |
vpcola | 0:a1734fe1ec4b | 9 | * @details |
vpcola | 0:a1734fe1ec4b | 10 | * |
vpcola | 0:a1734fe1ec4b | 11 | * This file is used to include all or a part of the Spirit |
vpcola | 0:a1734fe1ec4b | 12 | * libraries into the application program which will be used. |
vpcola | 0:a1734fe1ec4b | 13 | * Moreover some important parameters are defined here and the |
vpcola | 0:a1734fe1ec4b | 14 | * user is allowed to edit them. |
vpcola | 0:a1734fe1ec4b | 15 | * |
vpcola | 0:a1734fe1ec4b | 16 | * @attention |
vpcola | 0:a1734fe1ec4b | 17 | * |
vpcola | 0:a1734fe1ec4b | 18 | * <h2><center>© COPYRIGHT(c) 2015 STMicroelectronics</center></h2> |
vpcola | 0:a1734fe1ec4b | 19 | * |
vpcola | 0:a1734fe1ec4b | 20 | * Redistribution and use in source and binary forms, with or without modification, |
vpcola | 0:a1734fe1ec4b | 21 | * are permitted provided that the following conditions are met: |
vpcola | 0:a1734fe1ec4b | 22 | * 1. Redistributions of source code must retain the above copyright notice, |
vpcola | 0:a1734fe1ec4b | 23 | * this list of conditions and the following disclaimer. |
vpcola | 0:a1734fe1ec4b | 24 | * 2. Redistributions in binary form must reproduce the above copyright notice, |
vpcola | 0:a1734fe1ec4b | 25 | * this list of conditions and the following disclaimer in the documentation |
vpcola | 0:a1734fe1ec4b | 26 | * and/or other materials provided with the distribution. |
vpcola | 0:a1734fe1ec4b | 27 | * 3. Neither the name of STMicroelectronics nor the names of its contributors |
vpcola | 0:a1734fe1ec4b | 28 | * may be used to endorse or promote products derived from this software |
vpcola | 0:a1734fe1ec4b | 29 | * without specific prior written permission. |
vpcola | 0:a1734fe1ec4b | 30 | * |
vpcola | 0:a1734fe1ec4b | 31 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
vpcola | 0:a1734fe1ec4b | 32 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
vpcola | 0:a1734fe1ec4b | 33 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
vpcola | 0:a1734fe1ec4b | 34 | * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE |
vpcola | 0:a1734fe1ec4b | 35 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
vpcola | 0:a1734fe1ec4b | 36 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR |
vpcola | 0:a1734fe1ec4b | 37 | * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER |
vpcola | 0:a1734fe1ec4b | 38 | * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, |
vpcola | 0:a1734fe1ec4b | 39 | * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
vpcola | 0:a1734fe1ec4b | 40 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
vpcola | 0:a1734fe1ec4b | 41 | * |
vpcola | 0:a1734fe1ec4b | 42 | ****************************************************************************** |
vpcola | 0:a1734fe1ec4b | 43 | */ |
vpcola | 0:a1734fe1ec4b | 44 | |
vpcola | 0:a1734fe1ec4b | 45 | /* Define to prevent recursive inclusion -------------------------------------*/ |
vpcola | 0:a1734fe1ec4b | 46 | #ifndef __SPIRIT_CONFIG_H |
vpcola | 0:a1734fe1ec4b | 47 | #define __SPIRIT_CONFIG_H |
vpcola | 0:a1734fe1ec4b | 48 | |
vpcola | 0:a1734fe1ec4b | 49 | |
vpcola | 0:a1734fe1ec4b | 50 | /* Includes ------------------------------------------------------------------*/ |
vpcola | 0:a1734fe1ec4b | 51 | #include "SPIRIT_Regs.h" |
vpcola | 0:a1734fe1ec4b | 52 | #include "SPIRIT_Aes.h" |
vpcola | 0:a1734fe1ec4b | 53 | #include "SPIRIT_Calibration.h" |
vpcola | 0:a1734fe1ec4b | 54 | #include "SPIRIT_Commands.h" |
vpcola | 0:a1734fe1ec4b | 55 | #include "SPIRIT_Csma.h" |
vpcola | 0:a1734fe1ec4b | 56 | #include "SPIRIT_DirectRF.h" |
vpcola | 0:a1734fe1ec4b | 57 | #include "SPIRIT_General.h" |
vpcola | 0:a1734fe1ec4b | 58 | #include "SPIRIT_Gpio.h" |
vpcola | 0:a1734fe1ec4b | 59 | #include "SPIRIT_Irq.h" |
vpcola | 0:a1734fe1ec4b | 60 | #include "SPIRIT_Timer.h" |
vpcola | 0:a1734fe1ec4b | 61 | #include "SPIRIT_LinearFifo.h" |
vpcola | 0:a1734fe1ec4b | 62 | #include "SPIRIT_PktBasic.h" |
vpcola | 0:a1734fe1ec4b | 63 | #include "SPIRIT_PktMbus.h" |
vpcola | 0:a1734fe1ec4b | 64 | #include "SPIRIT_PktStack.h" |
vpcola | 0:a1734fe1ec4b | 65 | |
vpcola | 0:a1734fe1ec4b | 66 | #include "SPIRIT_Qi.h" |
vpcola | 0:a1734fe1ec4b | 67 | #include "SPIRIT_Radio.h" |
vpcola | 0:a1734fe1ec4b | 68 | #include "MCU_Interface.h" |
vpcola | 0:a1734fe1ec4b | 69 | #include "SPIRIT_Types.h" |
vpcola | 0:a1734fe1ec4b | 70 | #include "SPIRIT_Management.h" |
vpcola | 0:a1734fe1ec4b | 71 | |
vpcola | 0:a1734fe1ec4b | 72 | |
vpcola | 0:a1734fe1ec4b | 73 | #ifdef __cplusplus |
vpcola | 0:a1734fe1ec4b | 74 | extern "C" { |
vpcola | 0:a1734fe1ec4b | 75 | #endif |
vpcola | 0:a1734fe1ec4b | 76 | |
vpcola | 0:a1734fe1ec4b | 77 | |
vpcola | 0:a1734fe1ec4b | 78 | /** @addtogroup SPIRIT_Libraries SPIRIT Libraries |
vpcola | 0:a1734fe1ec4b | 79 | * @brief This firmware implements libraries which allow the user |
vpcola | 0:a1734fe1ec4b | 80 | * to manage the features of Spirit without knowing the hardware details. |
vpcola | 0:a1734fe1ec4b | 81 | * @details The <i>SPIRIT_Libraries</i> modules are totally platform independent. The library provides one |
vpcola | 0:a1734fe1ec4b | 82 | * module for each device feature. Each module refers to some functions whose prototypes are located in the |
vpcola | 0:a1734fe1ec4b | 83 | * header file <i>@ref MCU_Interface.h</i>. The user who want to use these libraries on a particular |
vpcola | 0:a1734fe1ec4b | 84 | * platform has to implement these functions respecting them signatures. |
vpcola | 0:a1734fe1ec4b | 85 | * @{ |
vpcola | 0:a1734fe1ec4b | 86 | */ |
vpcola | 0:a1734fe1ec4b | 87 | |
vpcola | 0:a1734fe1ec4b | 88 | /** @defgroup SPIRIT_Configuration Configuration |
vpcola | 0:a1734fe1ec4b | 89 | * @brief Spirit Configuration and useful defines. |
vpcola | 0:a1734fe1ec4b | 90 | * @details See the file <i>@ref SPIRIT_Config.h</i> for more details. |
vpcola | 0:a1734fe1ec4b | 91 | * @{ |
vpcola | 0:a1734fe1ec4b | 92 | */ |
vpcola | 0:a1734fe1ec4b | 93 | |
vpcola | 0:a1734fe1ec4b | 94 | |
vpcola | 0:a1734fe1ec4b | 95 | /** @defgroup Configuration_Exported_Types Configuration Exported Types |
vpcola | 0:a1734fe1ec4b | 96 | * @{ |
vpcola | 0:a1734fe1ec4b | 97 | */ |
vpcola | 0:a1734fe1ec4b | 98 | |
vpcola | 0:a1734fe1ec4b | 99 | /** |
vpcola | 0:a1734fe1ec4b | 100 | * @} |
vpcola | 0:a1734fe1ec4b | 101 | */ |
vpcola | 0:a1734fe1ec4b | 102 | |
vpcola | 0:a1734fe1ec4b | 103 | |
vpcola | 0:a1734fe1ec4b | 104 | /** @defgroup Configuration_Exported_Constants Configuration Exported Constants |
vpcola | 0:a1734fe1ec4b | 105 | * @{ |
vpcola | 0:a1734fe1ec4b | 106 | */ |
vpcola | 0:a1734fe1ec4b | 107 | #define DOUBLE_XTAL_THR 30000000 |
vpcola | 0:a1734fe1ec4b | 108 | |
vpcola | 0:a1734fe1ec4b | 109 | /** |
vpcola | 0:a1734fe1ec4b | 110 | * @} |
vpcola | 0:a1734fe1ec4b | 111 | */ |
vpcola | 0:a1734fe1ec4b | 112 | |
vpcola | 0:a1734fe1ec4b | 113 | |
vpcola | 0:a1734fe1ec4b | 114 | /** @defgroup Configuration_Exported_Macros Configuration Exported Macros |
vpcola | 0:a1734fe1ec4b | 115 | * @{ |
vpcola | 0:a1734fe1ec4b | 116 | */ |
vpcola | 0:a1734fe1ec4b | 117 | |
vpcola | 0:a1734fe1ec4b | 118 | /** |
vpcola | 0:a1734fe1ec4b | 119 | * @} |
vpcola | 0:a1734fe1ec4b | 120 | */ |
vpcola | 0:a1734fe1ec4b | 121 | |
vpcola | 0:a1734fe1ec4b | 122 | |
vpcola | 0:a1734fe1ec4b | 123 | /** @defgroup Configuration_Exported_Functions Configuration Exported Functions |
vpcola | 0:a1734fe1ec4b | 124 | * @{ |
vpcola | 0:a1734fe1ec4b | 125 | */ |
vpcola | 0:a1734fe1ec4b | 126 | |
vpcola | 0:a1734fe1ec4b | 127 | /** |
vpcola | 0:a1734fe1ec4b | 128 | * @} |
vpcola | 0:a1734fe1ec4b | 129 | */ |
vpcola | 0:a1734fe1ec4b | 130 | |
vpcola | 0:a1734fe1ec4b | 131 | /** |
vpcola | 0:a1734fe1ec4b | 132 | * @} |
vpcola | 0:a1734fe1ec4b | 133 | */ |
vpcola | 0:a1734fe1ec4b | 134 | |
vpcola | 0:a1734fe1ec4b | 135 | |
vpcola | 0:a1734fe1ec4b | 136 | /** |
vpcola | 0:a1734fe1ec4b | 137 | * @} |
vpcola | 0:a1734fe1ec4b | 138 | */ |
vpcola | 0:a1734fe1ec4b | 139 | |
vpcola | 0:a1734fe1ec4b | 140 | |
vpcola | 0:a1734fe1ec4b | 141 | #ifdef __cplusplus |
vpcola | 0:a1734fe1ec4b | 142 | } |
vpcola | 0:a1734fe1ec4b | 143 | #endif |
vpcola | 0:a1734fe1ec4b | 144 | |
vpcola | 0:a1734fe1ec4b | 145 | #endif |
vpcola | 0:a1734fe1ec4b | 146 | |
vpcola | 0:a1734fe1ec4b | 147 | /******************* (C) COPYRIGHT 2015 STMicroelectronics *****END OF FILE****/ |