STM32F479xx HAL User Manual
Defines
CRC Exported Macros
CRC

Defines

#define __HAL_CRC_RESET_HANDLE_STATE(__HANDLE__)   ((__HANDLE__)->State = HAL_CRC_STATE_RESET)
 Reset CRC handle state.
#define __HAL_CRC_DR_RESET(__HANDLE__)   ((__HANDLE__)->Instance->CR |= CRC_CR_RESET)
 Reset CRC Data Register.
#define __HAL_CRC_SET_IDR(__HANDLE__, __VALUE__)   (WRITE_REG((__HANDLE__)->Instance->IDR, (__VALUE__)))
 Store data in the Independent Data (ID) register.
#define __HAL_CRC_GET_IDR(__HANDLE__)   (((__HANDLE__)->Instance->IDR) & CRC_IDR_IDR)
 Return the data stored in the Independent Data (ID) register.

Define Documentation

#define __HAL_CRC_DR_RESET (   __HANDLE__)    ((__HANDLE__)->Instance->CR |= CRC_CR_RESET)

Reset CRC Data Register.

Parameters:
__HANDLE__CRC handle
Return values:
None

Definition at line 98 of file stm32f4xx_hal_crc.h.

Referenced by HAL_CRC_Calculate(), and HAL_CRC_DeInit().

#define __HAL_CRC_GET_IDR (   __HANDLE__)    (((__HANDLE__)->Instance->IDR) & CRC_IDR_IDR)

Return the data stored in the Independent Data (ID) register.

Parameters:
__HANDLE__CRC handle
Note:
Refer to the Reference Manual to get the authorized __VALUE__ length in bits
Return values:
Valueof the ID register

Definition at line 115 of file stm32f4xx_hal_crc.h.

#define __HAL_CRC_RESET_HANDLE_STATE (   __HANDLE__)    ((__HANDLE__)->State = HAL_CRC_STATE_RESET)

Reset CRC handle state.

Parameters:
__HANDLE__CRC handle.
Return values:
None

Definition at line 91 of file stm32f4xx_hal_crc.h.

#define __HAL_CRC_SET_IDR (   __HANDLE__,
  __VALUE__ 
)    (WRITE_REG((__HANDLE__)->Instance->IDR, (__VALUE__)))

Store data in the Independent Data (ID) register.

Parameters:
__HANDLE__CRC handle
__VALUE__Value to be stored in the ID register
Note:
Refer to the Reference Manual to get the authorized __VALUE__ length in bits
Return values:
None

Definition at line 107 of file stm32f4xx_hal_crc.h.