DHT11

Committer:
jhon309
Date:
Thu Aug 13 00:21:57 2015 +0000
Revision:
0:c52df770855b
DHT11

Who changed what in which revision?

UserRevisionLine numberNew contents of line
jhon309 0:c52df770855b 1 /**
jhon309 0:c52df770855b 2 ******************************************************************************
jhon309 0:c52df770855b 3 * @file stm32f0xx_hal_crc.h
jhon309 0:c52df770855b 4 * @author MCD Application Team
jhon309 0:c52df770855b 5 * @version V1.2.0
jhon309 0:c52df770855b 6 * @date 11-December-2014
jhon309 0:c52df770855b 7 * @brief Header file of CRC HAL module.
jhon309 0:c52df770855b 8 ******************************************************************************
jhon309 0:c52df770855b 9 * @attention
jhon309 0:c52df770855b 10 *
jhon309 0:c52df770855b 11 * <h2><center>&copy; COPYRIGHT(c) 2014 STMicroelectronics</center></h2>
jhon309 0:c52df770855b 12 *
jhon309 0:c52df770855b 13 * Redistribution and use in source and binary forms, with or without modification,
jhon309 0:c52df770855b 14 * are permitted provided that the following conditions are met:
jhon309 0:c52df770855b 15 * 1. Redistributions of source code must retain the above copyright notice,
jhon309 0:c52df770855b 16 * this list of conditions and the following disclaimer.
jhon309 0:c52df770855b 17 * 2. Redistributions in binary form must reproduce the above copyright notice,
jhon309 0:c52df770855b 18 * this list of conditions and the following disclaimer in the documentation
jhon309 0:c52df770855b 19 * and/or other materials provided with the distribution.
jhon309 0:c52df770855b 20 * 3. Neither the name of STMicroelectronics nor the names of its contributors
jhon309 0:c52df770855b 21 * may be used to endorse or promote products derived from this software
jhon309 0:c52df770855b 22 * without specific prior written permission.
jhon309 0:c52df770855b 23 *
jhon309 0:c52df770855b 24 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
jhon309 0:c52df770855b 25 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
jhon309 0:c52df770855b 26 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
jhon309 0:c52df770855b 27 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
jhon309 0:c52df770855b 28 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
jhon309 0:c52df770855b 29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
jhon309 0:c52df770855b 30 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
jhon309 0:c52df770855b 31 * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
jhon309 0:c52df770855b 32 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
jhon309 0:c52df770855b 33 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
jhon309 0:c52df770855b 34 *
jhon309 0:c52df770855b 35 ******************************************************************************
jhon309 0:c52df770855b 36 */
jhon309 0:c52df770855b 37
jhon309 0:c52df770855b 38 /* Define to prevent recursive inclusion -------------------------------------*/
jhon309 0:c52df770855b 39 #ifndef __STM32F0xx_HAL_CRC_H
jhon309 0:c52df770855b 40 #define __STM32F0xx_HAL_CRC_H
jhon309 0:c52df770855b 41
jhon309 0:c52df770855b 42 #ifdef __cplusplus
jhon309 0:c52df770855b 43 extern "C" {
jhon309 0:c52df770855b 44 #endif
jhon309 0:c52df770855b 45
jhon309 0:c52df770855b 46 /* Includes ------------------------------------------------------------------*/
jhon309 0:c52df770855b 47 #include "stm32f0xx_hal_def.h"
jhon309 0:c52df770855b 48
jhon309 0:c52df770855b 49 /** @addtogroup STM32F0xx_HAL_Driver
jhon309 0:c52df770855b 50 * @{
jhon309 0:c52df770855b 51 */
jhon309 0:c52df770855b 52
jhon309 0:c52df770855b 53 /** @addtogroup CRC CRC HAL module driver
jhon309 0:c52df770855b 54 * @{
jhon309 0:c52df770855b 55 */
jhon309 0:c52df770855b 56
jhon309 0:c52df770855b 57 /* Exported types ------------------------------------------------------------*/
jhon309 0:c52df770855b 58 /** @defgroup CRC_Exported_Types CRC Exported Types
jhon309 0:c52df770855b 59 * @{
jhon309 0:c52df770855b 60 */
jhon309 0:c52df770855b 61 /**
jhon309 0:c52df770855b 62 * @brief CRC HAL State Structure definition
jhon309 0:c52df770855b 63 */
jhon309 0:c52df770855b 64 typedef enum
jhon309 0:c52df770855b 65 {
jhon309 0:c52df770855b 66 HAL_CRC_STATE_RESET = 0x00, /*!< CRC not yet initialized or disabled */
jhon309 0:c52df770855b 67 HAL_CRC_STATE_READY = 0x01, /*!< CRC initialized and ready for use */
jhon309 0:c52df770855b 68 HAL_CRC_STATE_BUSY = 0x02, /*!< CRC internal process is ongoing */
jhon309 0:c52df770855b 69 HAL_CRC_STATE_TIMEOUT = 0x03, /*!< CRC timeout state */
jhon309 0:c52df770855b 70 HAL_CRC_STATE_ERROR = 0x04 /*!< CRC error state */
jhon309 0:c52df770855b 71 }HAL_CRC_StateTypeDef;
jhon309 0:c52df770855b 72
jhon309 0:c52df770855b 73
jhon309 0:c52df770855b 74 /**
jhon309 0:c52df770855b 75 * @brief CRC Init Structure definition
jhon309 0:c52df770855b 76 */
jhon309 0:c52df770855b 77 typedef struct
jhon309 0:c52df770855b 78 {
jhon309 0:c52df770855b 79 uint8_t DefaultPolynomialUse; /*!< This parameter is a value of @ref CRC_Default_Polynomial and indicates if default polynomial is used.
jhon309 0:c52df770855b 80 If set to DEFAULT_POLYNOMIAL_ENABLE, resort to default
jhon309 0:c52df770855b 81 X^32 + X^26 + X^23 + X^22 + X^16 + X^12 + X^11 + X^10 +X^8 + X^7 + X^5 + X^4 + X^2+ X +1.
jhon309 0:c52df770855b 82 In that case, there is no need to set GeneratingPolynomial field.
jhon309 0:c52df770855b 83 If otherwise set to DEFAULT_POLYNOMIAL_DISABLE, GeneratingPolynomial and CRCLength fields must be set */
jhon309 0:c52df770855b 84
jhon309 0:c52df770855b 85 uint8_t DefaultInitValueUse; /*!< This parameter is a value of @ref CRC_Default_InitValue_Use and indicates if default init value is used.
jhon309 0:c52df770855b 86 If set to DEFAULT_INIT_VALUE_ENABLE, resort to default
jhon309 0:c52df770855b 87 0xFFFFFFFF value. In that case, there is no need to set InitValue field.
jhon309 0:c52df770855b 88 If otherwise set to DEFAULT_INIT_VALUE_DISABLE, InitValue field must be set */
jhon309 0:c52df770855b 89
jhon309 0:c52df770855b 90 uint32_t GeneratingPolynomial; /*!< Set CRC generating polynomial. 7, 8, 16 or 32-bit long value for a polynomial degree
jhon309 0:c52df770855b 91 respectively equal to 7, 8, 16 or 32. This field is written in normal representation,
jhon309 0:c52df770855b 92 e.g., for a polynomial of degree 7, X^7 + X^6 + X^5 + X^2 + 1 is written 0x65.
jhon309 0:c52df770855b 93 No need to specify it if DefaultPolynomialUse is set to DEFAULT_POLYNOMIAL_ENABLE */
jhon309 0:c52df770855b 94
jhon309 0:c52df770855b 95 uint32_t CRCLength; /*!< This parameter is a value of @ref CRCEx_Polynomial_Sizes and indicates CRC length.
jhon309 0:c52df770855b 96 Value can be either one of
jhon309 0:c52df770855b 97 CRC_POLYLENGTH_32B (32-bit CRC)
jhon309 0:c52df770855b 98 CRC_POLYLENGTH_16B (16-bit CRC)
jhon309 0:c52df770855b 99 CRC_POLYLENGTH_8B (8-bit CRC)
jhon309 0:c52df770855b 100 CRC_POLYLENGTH_7B (7-bit CRC) */
jhon309 0:c52df770855b 101
jhon309 0:c52df770855b 102 uint32_t InitValue; /*!< Init value to initiate CRC computation. No need to specify it if DefaultInitValueUse
jhon309 0:c52df770855b 103 is set to DEFAULT_INIT_VALUE_ENABLE */
jhon309 0:c52df770855b 104
jhon309 0:c52df770855b 105 uint32_t InputDataInversionMode; /*!< This parameter is a value of @ref CRCEx_Input_Data_Inversion and specifies input data inversion mode.
jhon309 0:c52df770855b 106 Can be either one of the following values
jhon309 0:c52df770855b 107 CRC_INPUTDATA_INVERSION_NONE no input data inversion
jhon309 0:c52df770855b 108 CRC_INPUTDATA_INVERSION_BYTE byte-wise inversion, 0x1A2B3C4D becomes 0x58D43CB2
jhon309 0:c52df770855b 109 CRC_INPUTDATA_INVERSION_HALFWORD halfword-wise inversion, 0x1A2B3C4D becomes 0xD458B23C
jhon309 0:c52df770855b 110 CRC_INPUTDATA_INVERSION_WORD word-wise inversion, 0x1A2B3C4D becomes 0xB23CD458 */
jhon309 0:c52df770855b 111
jhon309 0:c52df770855b 112 uint32_t OutputDataInversionMode; /*!< This parameter is a value of @ref CRCEx_Output_Data_Inversion and specifies output data (i.e. CRC) inversion mode.
jhon309 0:c52df770855b 113 Can be either
jhon309 0:c52df770855b 114 CRC_OUTPUTDATA_INVERSION_DISABLED no CRC inversion, or
jhon309 0:c52df770855b 115 CRC_OUTPUTDATA_INVERSION_ENABLED CRC 0x11223344 is converted into 0x22CC4488 */
jhon309 0:c52df770855b 116 }CRC_InitTypeDef;
jhon309 0:c52df770855b 117
jhon309 0:c52df770855b 118
jhon309 0:c52df770855b 119 /**
jhon309 0:c52df770855b 120 * @brief CRC Handle Structure definition
jhon309 0:c52df770855b 121 */
jhon309 0:c52df770855b 122 typedef struct
jhon309 0:c52df770855b 123 {
jhon309 0:c52df770855b 124 CRC_TypeDef *Instance; /*!< Register base address */
jhon309 0:c52df770855b 125
jhon309 0:c52df770855b 126 CRC_InitTypeDef Init; /*!< CRC configuration parameters */
jhon309 0:c52df770855b 127
jhon309 0:c52df770855b 128 HAL_LockTypeDef Lock; /*!< CRC Locking object */
jhon309 0:c52df770855b 129
jhon309 0:c52df770855b 130 __IO HAL_CRC_StateTypeDef State; /*!< CRC communication state */
jhon309 0:c52df770855b 131
jhon309 0:c52df770855b 132 uint32_t InputDataFormat; /*!< This parameter is a value of @ref CRC_Input_Buffer_Format and specifies input data format.
jhon309 0:c52df770855b 133 Can be either
jhon309 0:c52df770855b 134 CRC_INPUTDATA_FORMAT_BYTES input data is a stream of bytes (8-bit data)
jhon309 0:c52df770855b 135 CRC_INPUTDATA_FORMAT_HALFWORDS input data is a stream of half-words (16-bit data)
jhon309 0:c52df770855b 136 CRC_INPUTDATA_FORMAT_WORDS input data is a stream of words (32-bits data)
jhon309 0:c52df770855b 137 Note that constant CRC_INPUT_FORMAT_UNDEFINED is defined but an initialization error
jhon309 0:c52df770855b 138 must occur if InputBufferFormat is not one of the three values listed above */
jhon309 0:c52df770855b 139 }CRC_HandleTypeDef;
jhon309 0:c52df770855b 140 /**
jhon309 0:c52df770855b 141 * @}
jhon309 0:c52df770855b 142 */
jhon309 0:c52df770855b 143
jhon309 0:c52df770855b 144 /* Exported constants --------------------------------------------------------*/
jhon309 0:c52df770855b 145 /** @defgroup CRC_Exported_Constants CRC Exported Constants
jhon309 0:c52df770855b 146 * @{
jhon309 0:c52df770855b 147 */
jhon309 0:c52df770855b 148 /** @defgroup CRC_Default_Polynomial_Value Default CRC generating polynomial
jhon309 0:c52df770855b 149 * @{
jhon309 0:c52df770855b 150 */
jhon309 0:c52df770855b 151 #define DEFAULT_CRC32_POLY 0x04C11DB7
jhon309 0:c52df770855b 152
jhon309 0:c52df770855b 153 /**
jhon309 0:c52df770855b 154 * @}
jhon309 0:c52df770855b 155 */
jhon309 0:c52df770855b 156
jhon309 0:c52df770855b 157 /** @defgroup CRC_Default_InitValue Default CRC computation initialization value
jhon309 0:c52df770855b 158 * @{
jhon309 0:c52df770855b 159 */
jhon309 0:c52df770855b 160 #define DEFAULT_CRC_INITVALUE 0xFFFFFFFF
jhon309 0:c52df770855b 161
jhon309 0:c52df770855b 162 /**
jhon309 0:c52df770855b 163 * @}
jhon309 0:c52df770855b 164 */
jhon309 0:c52df770855b 165
jhon309 0:c52df770855b 166 /** @defgroup CRC_Default_Polynomial Indicates whether or not default polynomial is used
jhon309 0:c52df770855b 167 * @{
jhon309 0:c52df770855b 168 */
jhon309 0:c52df770855b 169 #define DEFAULT_POLYNOMIAL_ENABLE ((uint8_t)0x00)
jhon309 0:c52df770855b 170 #define DEFAULT_POLYNOMIAL_DISABLE ((uint8_t)0x01)
jhon309 0:c52df770855b 171
jhon309 0:c52df770855b 172 #define IS_DEFAULT_POLYNOMIAL(DEFAULT) (((DEFAULT) == DEFAULT_POLYNOMIAL_ENABLE) || \
jhon309 0:c52df770855b 173 ((DEFAULT) == DEFAULT_POLYNOMIAL_DISABLE))
jhon309 0:c52df770855b 174
jhon309 0:c52df770855b 175 /**
jhon309 0:c52df770855b 176 * @}
jhon309 0:c52df770855b 177 */
jhon309 0:c52df770855b 178
jhon309 0:c52df770855b 179 /** @defgroup CRC_Default_InitValue_Use Indicates whether or not default init value is used
jhon309 0:c52df770855b 180 * @{
jhon309 0:c52df770855b 181 */
jhon309 0:c52df770855b 182 #define DEFAULT_INIT_VALUE_ENABLE ((uint8_t)0x00)
jhon309 0:c52df770855b 183 #define DEFAULT_INIT_VALUE_DISABLE ((uint8_t)0x01)
jhon309 0:c52df770855b 184
jhon309 0:c52df770855b 185 #define IS_DEFAULT_INIT_VALUE(VALUE) (((VALUE) == DEFAULT_INIT_VALUE_ENABLE) || \
jhon309 0:c52df770855b 186 ((VALUE) == DEFAULT_INIT_VALUE_DISABLE))
jhon309 0:c52df770855b 187 /**
jhon309 0:c52df770855b 188 * @}
jhon309 0:c52df770855b 189 */
jhon309 0:c52df770855b 190
jhon309 0:c52df770855b 191 /** @defgroup CRC_Input_Buffer_Format Input Buffer Format
jhon309 0:c52df770855b 192 * @{
jhon309 0:c52df770855b 193 */
jhon309 0:c52df770855b 194 /* WARNING: CRC_INPUT_FORMAT_UNDEFINED is created for reference purposes but
jhon309 0:c52df770855b 195 * an error is triggered in HAL_CRC_Init() if InputDataFormat field is set
jhon309 0:c52df770855b 196 * to CRC_INPUT_FORMAT_UNDEFINED: the format MUST be defined by the user for
jhon309 0:c52df770855b 197 * the CRC APIs to provide a correct result */
jhon309 0:c52df770855b 198 #define CRC_INPUTDATA_FORMAT_UNDEFINED ((uint32_t)0x00000000)
jhon309 0:c52df770855b 199 #define CRC_INPUTDATA_FORMAT_BYTES ((uint32_t)0x00000001)
jhon309 0:c52df770855b 200 #define CRC_INPUTDATA_FORMAT_HALFWORDS ((uint32_t)0x00000002)
jhon309 0:c52df770855b 201 #define CRC_INPUTDATA_FORMAT_WORDS ((uint32_t)0x00000003)
jhon309 0:c52df770855b 202
jhon309 0:c52df770855b 203 #define IS_CRC_INPUTDATA_FORMAT(FORMAT) (((FORMAT) == CRC_INPUTDATA_FORMAT_BYTES) || \
jhon309 0:c52df770855b 204 ((FORMAT) == CRC_INPUTDATA_FORMAT_HALFWORDS) || \
jhon309 0:c52df770855b 205 ((FORMAT) == CRC_INPUTDATA_FORMAT_WORDS))
jhon309 0:c52df770855b 206 /**
jhon309 0:c52df770855b 207 * @}
jhon309 0:c52df770855b 208 */
jhon309 0:c52df770855b 209
jhon309 0:c52df770855b 210 /**
jhon309 0:c52df770855b 211 * @}
jhon309 0:c52df770855b 212 */
jhon309 0:c52df770855b 213
jhon309 0:c52df770855b 214 /* Exported macros -----------------------------------------------------------*/
jhon309 0:c52df770855b 215
jhon309 0:c52df770855b 216 /** @defgroup CRC_Exported_Macros CRC Exported Macros
jhon309 0:c52df770855b 217 * @{
jhon309 0:c52df770855b 218 */
jhon309 0:c52df770855b 219
jhon309 0:c52df770855b 220 /** @brief Reset CRC handle state
jhon309 0:c52df770855b 221 * @param __HANDLE__: CRC handle.
jhon309 0:c52df770855b 222 * @retval None
jhon309 0:c52df770855b 223 */
jhon309 0:c52df770855b 224 #define __HAL_CRC_RESET_HANDLE_STATE(__HANDLE__) ((__HANDLE__)->State = HAL_CRC_STATE_RESET)
jhon309 0:c52df770855b 225
jhon309 0:c52df770855b 226 /**
jhon309 0:c52df770855b 227 * @brief Reset CRC Data Register.
jhon309 0:c52df770855b 228 * @param __HANDLE__: CRC handle
jhon309 0:c52df770855b 229 * @retval None.
jhon309 0:c52df770855b 230 */
jhon309 0:c52df770855b 231 #define __HAL_CRC_DR_RESET(__HANDLE__) ((__HANDLE__)->Instance->CR |= CRC_CR_RESET)
jhon309 0:c52df770855b 232
jhon309 0:c52df770855b 233 /**
jhon309 0:c52df770855b 234 * @brief Set CRC INIT non-default value
jhon309 0:c52df770855b 235 * @param __HANDLE__ : CRC handle
jhon309 0:c52df770855b 236 * @param __INIT__ : 32-bit initial value
jhon309 0:c52df770855b 237 * @retval None.
jhon309 0:c52df770855b 238 */
jhon309 0:c52df770855b 239 #define __HAL_CRC_INITIALCRCVALUE_CONFIG(__HANDLE__, __INIT__) ((__HANDLE__)->Instance->INIT = (__INIT__))
jhon309 0:c52df770855b 240
jhon309 0:c52df770855b 241 /**
jhon309 0:c52df770855b 242 * @}
jhon309 0:c52df770855b 243 */
jhon309 0:c52df770855b 244
jhon309 0:c52df770855b 245
jhon309 0:c52df770855b 246 /* Include CRC HAL Extension module */
jhon309 0:c52df770855b 247 #include "stm32f0xx_hal_crc_ex.h"
jhon309 0:c52df770855b 248
jhon309 0:c52df770855b 249 /* Exported functions --------------------------------------------------------*/
jhon309 0:c52df770855b 250 /** @addtogroup CRC_Exported_Functions CRC Exported Functions
jhon309 0:c52df770855b 251 * @{
jhon309 0:c52df770855b 252 */
jhon309 0:c52df770855b 253
jhon309 0:c52df770855b 254 /** @addtogroup CRC_Exported_Functions_Group1 Initialization/de-initialization functions
jhon309 0:c52df770855b 255 * @brief Initialization and Configuration functions.
jhon309 0:c52df770855b 256 * @{
jhon309 0:c52df770855b 257 */
jhon309 0:c52df770855b 258
jhon309 0:c52df770855b 259 /* Initialization and de-initialization functions ****************************/
jhon309 0:c52df770855b 260 HAL_StatusTypeDef HAL_CRC_Init(CRC_HandleTypeDef *hcrc);
jhon309 0:c52df770855b 261 HAL_StatusTypeDef HAL_CRC_DeInit (CRC_HandleTypeDef *hcrc);
jhon309 0:c52df770855b 262 void HAL_CRC_MspInit(CRC_HandleTypeDef *hcrc);
jhon309 0:c52df770855b 263 void HAL_CRC_MspDeInit(CRC_HandleTypeDef *hcrc);
jhon309 0:c52df770855b 264 /**
jhon309 0:c52df770855b 265 * @}
jhon309 0:c52df770855b 266 */
jhon309 0:c52df770855b 267
jhon309 0:c52df770855b 268 /** @addtogroup CRC_Exported_Functions_Group2 Peripheral Control functions
jhon309 0:c52df770855b 269 * @brief management functions.
jhon309 0:c52df770855b 270 * @{
jhon309 0:c52df770855b 271 */
jhon309 0:c52df770855b 272
jhon309 0:c52df770855b 273 /* Peripheral Control functions ***********************************************/
jhon309 0:c52df770855b 274 uint32_t HAL_CRC_Accumulate(CRC_HandleTypeDef *hcrc, uint32_t pBuffer[], uint32_t BufferLength);
jhon309 0:c52df770855b 275 uint32_t HAL_CRC_Calculate(CRC_HandleTypeDef *hcrc, uint32_t pBuffer[], uint32_t BufferLength);
jhon309 0:c52df770855b 276 /**
jhon309 0:c52df770855b 277 * @}
jhon309 0:c52df770855b 278 */
jhon309 0:c52df770855b 279
jhon309 0:c52df770855b 280 /** @addtogroup CRC_Exported_Functions_Group3 Peripheral State functions
jhon309 0:c52df770855b 281 * @brief Peripheral State functions.
jhon309 0:c52df770855b 282 * @{
jhon309 0:c52df770855b 283 */
jhon309 0:c52df770855b 284 /* Peripheral State and Error functions ***************************************/
jhon309 0:c52df770855b 285 HAL_CRC_StateTypeDef HAL_CRC_GetState(CRC_HandleTypeDef *hcrc);
jhon309 0:c52df770855b 286 /**
jhon309 0:c52df770855b 287 * @}
jhon309 0:c52df770855b 288 */
jhon309 0:c52df770855b 289
jhon309 0:c52df770855b 290 /**
jhon309 0:c52df770855b 291 * @}
jhon309 0:c52df770855b 292 */
jhon309 0:c52df770855b 293
jhon309 0:c52df770855b 294 /** @addtogroup CRC_Exported_Constants CRC Exported Constants
jhon309 0:c52df770855b 295 * @brief aliases for inter STM32 series compatibility
jhon309 0:c52df770855b 296 * @{
jhon309 0:c52df770855b 297 */
jhon309 0:c52df770855b 298 /** @defgroup CRC_Aliases Aliases for inter STM32 series compatibility
jhon309 0:c52df770855b 299 * @{
jhon309 0:c52df770855b 300 */
jhon309 0:c52df770855b 301 /* Aliases for inter STM32 series compatibility */
jhon309 0:c52df770855b 302 #define HAL_CRC_Input_Data_Reverse HAL_CRCEx_Input_Data_Reverse
jhon309 0:c52df770855b 303 #define HAL_CRC_Output_Data_Reverse HAL_CRCEx_Output_Data_Reverse
jhon309 0:c52df770855b 304 /**
jhon309 0:c52df770855b 305 * @}
jhon309 0:c52df770855b 306 */
jhon309 0:c52df770855b 307
jhon309 0:c52df770855b 308 /**
jhon309 0:c52df770855b 309 * @}
jhon309 0:c52df770855b 310 */
jhon309 0:c52df770855b 311
jhon309 0:c52df770855b 312 /**
jhon309 0:c52df770855b 313 * @}
jhon309 0:c52df770855b 314 */
jhon309 0:c52df770855b 315
jhon309 0:c52df770855b 316 /**
jhon309 0:c52df770855b 317 * @}
jhon309 0:c52df770855b 318 */
jhon309 0:c52df770855b 319
jhon309 0:c52df770855b 320 #ifdef __cplusplus
jhon309 0:c52df770855b 321 }
jhon309 0:c52df770855b 322 #endif
jhon309 0:c52df770855b 323
jhon309 0:c52df770855b 324 #endif /* __STM32F0xx_HAL_CRC_H */
jhon309 0:c52df770855b 325
jhon309 0:c52df770855b 326 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
jhon309 0:c52df770855b 327