Rev 2 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 2 | Rev 6 | ||
|---|---|---|---|
| Line 60... | Line 60... | ||
| 60 | /* Private define ------------------------------------------------------------*/ |
60 | /* Private define ------------------------------------------------------------*/ |
| 61 | /* Private macro -------------------------------------------------------------*/ |
61 | /* Private macro -------------------------------------------------------------*/ |
| 62 | /* Private variables ---------------------------------------------------------*/ |
62 | /* Private variables ---------------------------------------------------------*/ |
| 63 | /* Private function prototypes -----------------------------------------------*/ |
63 | /* Private function prototypes -----------------------------------------------*/ |
| 64 | /** @defgroup CRC_Private_Functions CRC Private Functions |
64 | /** @defgroup CRC_Private_Functions CRC Private Functions |
| 65 | * @{ |
65 | * @{ |
| 66 | */ |
66 | */ |
| 67 | static uint32_t CRC_Handle_8(CRC_HandleTypeDef *hcrc, uint8_t pBuffer[], uint32_t BufferLength); |
67 | static uint32_t CRC_Handle_8(CRC_HandleTypeDef *hcrc, uint8_t pBuffer[], uint32_t BufferLength); |
| 68 | static uint32_t CRC_Handle_16(CRC_HandleTypeDef *hcrc, uint16_t pBuffer[], uint32_t BufferLength); |
68 | static uint32_t CRC_Handle_16(CRC_HandleTypeDef *hcrc, uint16_t pBuffer[], uint32_t BufferLength); |
| 69 | /** |
69 | /** |
| 70 | * @} |
70 | * @} |
| 71 | */ |
71 | */ |
| Line 75... | Line 75... | ||
| 75 | /** @defgroup CRC_Exported_Functions CRC Exported Functions |
75 | /** @defgroup CRC_Exported_Functions CRC Exported Functions |
| 76 | * @{ |
76 | * @{ |
| 77 | */ |
77 | */ |
| 78 | 78 | ||
| 79 | /** @defgroup CRC_Exported_Functions_Group1 Initialization and de-initialization functions |
79 | /** @defgroup CRC_Exported_Functions_Group1 Initialization and de-initialization functions |
| 80 | * @brief Initialization and Configuration functions. |
80 | * @brief Initialization and Configuration functions. |
| 81 | * |
81 | * |
| 82 | @verbatim |
82 | @verbatim |
| 83 | =============================================================================== |
83 | =============================================================================== |
| 84 | ##### Initialization and de-initialization functions ##### |
84 | ##### Initialization and de-initialization functions ##### |
| 85 | =============================================================================== |
85 | =============================================================================== |
| 86 | [..] This section provides functions allowing to: |
86 | [..] This section provides functions allowing to: |
| Line 250... | Line 250... | ||
| 250 | /** |
250 | /** |
| 251 | * @} |
251 | * @} |
| 252 | */ |
252 | */ |
| 253 | 253 | ||
| 254 | /** @defgroup CRC_Exported_Functions_Group2 Peripheral Control functions |
254 | /** @defgroup CRC_Exported_Functions_Group2 Peripheral Control functions |
| 255 | * @brief management functions. |
255 | * @brief management functions. |
| 256 | * |
256 | * |
| 257 | @verbatim |
257 | @verbatim |
| 258 | =============================================================================== |
258 | =============================================================================== |
| 259 | ##### Peripheral Control functions ##### |
259 | ##### Peripheral Control functions ##### |
| 260 | =============================================================================== |
260 | =============================================================================== |
| 261 | [..] This section provides functions allowing to: |
261 | [..] This section provides functions allowing to: |
| Line 385... | Line 385... | ||
| 385 | /** |
385 | /** |
| 386 | * @} |
386 | * @} |
| 387 | */ |
387 | */ |
| 388 | 388 | ||
| 389 | /** @defgroup CRC_Exported_Functions_Group3 Peripheral State functions |
389 | /** @defgroup CRC_Exported_Functions_Group3 Peripheral State functions |
| 390 | * @brief Peripheral State functions. |
390 | * @brief Peripheral State functions. |
| 391 | * |
391 | * |
| 392 | @verbatim |
392 | @verbatim |
| 393 | =============================================================================== |
393 | =============================================================================== |
| 394 | ##### Peripheral State functions ##### |
394 | ##### Peripheral State functions ##### |
| 395 | =============================================================================== |
395 | =============================================================================== |
| 396 | [..] |
396 | [..] |
| Line 418... | Line 418... | ||
| 418 | /** |
418 | /** |
| 419 | * @} |
419 | * @} |
| 420 | */ |
420 | */ |
| 421 | 421 | ||
| 422 | /** @addtogroup CRC_Private_Functions |
422 | /** @addtogroup CRC_Private_Functions |
| 423 | * @{ |
423 | * @{ |
| 424 | */ |
424 | */ |
| 425 | 425 | ||
| 426 | /** |
426 | /** |
| 427 | * @brief Enter 8-bit input data to the CRC calculator. |
427 | * @brief Enter 8-bit input data to the CRC calculator. |
| 428 | * Specific data handling to optimize processing time. |
428 | * Specific data handling to optimize processing time. |
| 429 | * @param hcrc CRC handle |
429 | * @param hcrc CRC handle |