Macros | |
#define | __HAL_CRC_DR_RESET(__HANDLE__) ((__HANDLE__)->Instance->CR |= CRC_CR_RESET) |
Reset CRC Data Register. More... | |
#define | __HAL_CRC_GET_IDR(__HANDLE__) (((__HANDLE__)->Instance->IDR) & CRC_IDR_IDR) |
Return the data stored in the Independent Data (ID) register. More... | |
#define | __HAL_CRC_INITIALCRCVALUE_CONFIG(__HANDLE__, __INIT__) ((__HANDLE__)->Instance->INIT = (__INIT__)) |
Set CRC INIT non-default value. More... | |
#define | __HAL_CRC_RESET_HANDLE_STATE(__HANDLE__) ((__HANDLE__)->State = HAL_CRC_STATE_RESET) |
Reset CRC handle state. More... | |
#define | __HAL_CRC_SET_IDR(__HANDLE__, __VALUE__) (WRITE_REG((__HANDLE__)->Instance->IDR, (__VALUE__))) |
Store data in the Independent Data (ID) register. More... | |
#define __HAL_CRC_DR_RESET | ( | __HANDLE__ | ) | ((__HANDLE__)->Instance->CR |= CRC_CR_RESET) |
Reset CRC Data Register.
<strong>HANDLE</strong> | CRC handle |
None |
Definition at line 231 of file stm32h7xx_hal_crc.h.
#define __HAL_CRC_GET_IDR | ( | __HANDLE__ | ) | (((__HANDLE__)->Instance->IDR) & CRC_IDR_IDR) |
Return the data stored in the Independent Data (ID) register.
<strong>HANDLE</strong> | CRC handle |
Value | of the ID register |
Definition at line 256 of file stm32h7xx_hal_crc.h.
#define __HAL_CRC_INITIALCRCVALUE_CONFIG | ( | __HANDLE__, | |
__INIT__ | |||
) | ((__HANDLE__)->Instance->INIT = (__INIT__)) |
Set CRC INIT non-default value.
<strong>HANDLE</strong> | CRC handle |
<strong>INIT</strong> | 32-bit initial value |
None |
Definition at line 239 of file stm32h7xx_hal_crc.h.
#define __HAL_CRC_RESET_HANDLE_STATE | ( | __HANDLE__ | ) | ((__HANDLE__)->State = HAL_CRC_STATE_RESET) |
Reset CRC handle state.
<strong>HANDLE</strong> | CRC handle. |
None |
Definition at line 224 of file stm32h7xx_hal_crc.h.
#define __HAL_CRC_SET_IDR | ( | __HANDLE__, | |
__VALUE__ | |||
) | (WRITE_REG((__HANDLE__)->Instance->IDR, (__VALUE__))) |
Store data in the Independent Data (ID) register.
<strong>HANDLE</strong> | CRC handle |
<strong>VALUE</strong> | Value to be stored in the ID register |
None |
Definition at line 248 of file stm32h7xx_hal_crc.h.