STM32F439xx HAL User Manual
Functions
Initialization and de-initialization functions
CRC Exported Functions

Initialization and de-initialization functions. More...

Functions

HAL_StatusTypeDef HAL_CRC_Init (CRC_HandleTypeDef *hcrc)
 Initializes the CRC according to the specified parameters in the CRC_InitTypeDef and creates the associated handle.
HAL_StatusTypeDef HAL_CRC_DeInit (CRC_HandleTypeDef *hcrc)
 DeInitializes the CRC peripheral.
__weak void HAL_CRC_MspInit (CRC_HandleTypeDef *hcrc)
 Initializes the CRC MSP.
__weak void HAL_CRC_MspDeInit (CRC_HandleTypeDef *hcrc)
 DeInitializes the CRC MSP.

Detailed Description

Initialization and de-initialization functions.

  ==============================================================================
            ##### Initialization and de-initialization functions #####
  ==============================================================================
    [..]  This section provides functions allowing to:
      (+) Initialize the CRC according to the specified parameters 
          in the CRC_InitTypeDef and create the associated handle
      (+) DeInitialize the CRC peripheral
      (+) Initialize the CRC MSP
      (+) DeInitialize CRC MSP 
 

Function Documentation

HAL_StatusTypeDef HAL_CRC_DeInit ( CRC_HandleTypeDef hcrc)

DeInitializes the CRC peripheral.

Parameters:
hcrcpointer to a CRC_HandleTypeDef structure that contains the configuration information for CRC
Return values:
HALstatus

Definition at line 145 of file stm32f4xx_hal_crc.c.

References assert_param, HAL_CRC_MspDeInit(), HAL_CRC_STATE_BUSY, HAL_CRC_STATE_RESET, CRC_HandleTypeDef::Instance, and CRC_HandleTypeDef::State.

HAL_StatusTypeDef HAL_CRC_Init ( CRC_HandleTypeDef hcrc)

Initializes the CRC according to the specified parameters in the CRC_InitTypeDef and creates the associated handle.

Parameters:
hcrcpointer to a CRC_HandleTypeDef structure that contains the configuration information for CRC
Return values:
HALstatus

Definition at line 110 of file stm32f4xx_hal_crc.c.

References assert_param, HAL_CRC_MspInit(), HAL_CRC_STATE_BUSY, HAL_CRC_STATE_READY, HAL_CRC_STATE_RESET, CRC_HandleTypeDef::Instance, CRC_HandleTypeDef::Lock, and CRC_HandleTypeDef::State.

DeInitializes the CRC MSP.

Parameters:
hcrcpointer to a CRC_HandleTypeDef structure that contains the configuration information for CRC
Return values:
None

Definition at line 193 of file stm32f4xx_hal_crc.c.

Referenced by HAL_CRC_DeInit().

Initializes the CRC MSP.

Parameters:
hcrcpointer to a CRC_HandleTypeDef structure that contains the configuration information for CRC
Return values:
None

Definition at line 178 of file stm32f4xx_hal_crc.c.

Referenced by HAL_CRC_Init().