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