I2C_EEPROM

Committer:
jhon309
Date:
Thu Aug 13 00:23:16 2015 +0000
Revision:
0:ac8863619623
I2C

Who changed what in which revision?

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