STM32F4xx HAL Documentation
Hardware Abstraction Layer for STM32F4 familiy
Loading...
Searching...
No Matches
Initialization and de-initialization functions

Initialization and Configuration functions. More...

Collaboration diagram for Initialization and de-initialization functions:

Functions

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

Detailed Description

Initialization and Configuration 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 (MCU Specific Package)
      (+) DeInitialize the CRC MSP

Function Documentation

◆ HAL_CRC_Init()

HAL_StatusTypeDef HAL_CRC_Init ( CRC_HandleTypeDef * hcrc)

#include <stm32f4xx_hal_crc.h>

Initialize the CRC according to the specified parameters in the CRC_InitTypeDef and create the associated handle.

Parameters
hcrcCRC handle
Return values
HALstatus

Definition at line 95 of file stm32f4xx_hal_crc.c.

References assert_param, HAL_CRC_MspInit(), HAL_CRC_STATE_READY, HAL_CRC_STATE_RESET, HAL_ERROR, HAL_OK, HAL_UNLOCKED, CRC_HandleTypeDef::Instance, CRC_HandleTypeDef::Lock, and CRC_HandleTypeDef::State.

◆ HAL_CRC_DeInit()

HAL_StatusTypeDef HAL_CRC_DeInit ( CRC_HandleTypeDef * hcrc)

#include <stm32f4xx_hal_crc.h>

DeInitialize the CRC peripheral.

Parameters
hcrcCRC handle
Return values
HALstatus

Definition at line 126 of file stm32f4xx_hal_crc.c.

References __HAL_CRC_DR_RESET, __HAL_CRC_SET_IDR, __HAL_UNLOCK, assert_param, HAL_BUSY, HAL_CRC_MspDeInit(), HAL_CRC_STATE_BUSY, HAL_CRC_STATE_RESET, HAL_ERROR, HAL_OK, CRC_HandleTypeDef::Instance, and CRC_HandleTypeDef::State.

◆ HAL_CRC_MspInit()

__weak void HAL_CRC_MspInit ( CRC_HandleTypeDef * hcrc)

#include <stm32f4xx_hal_crc.h>

Initializes the CRC MSP.

Parameters
hcrcCRC handle
Return values
None

Definition at line 170 of file stm32f4xx_hal_crc.c.

References UNUSED.

Referenced by HAL_CRC_Init().

◆ HAL_CRC_MspDeInit()

__weak void HAL_CRC_MspDeInit ( CRC_HandleTypeDef * hcrc)

#include <stm32f4xx_hal_crc.h>

DeInitialize the CRC MSP.

Parameters
hcrcCRC handle
Return values
None

Definition at line 185 of file stm32f4xx_hal_crc.c.

References UNUSED.

Referenced by HAL_CRC_DeInit().