RTEMS 6.1-rc4
|
Macros | |
#define | __HAL_CRC_OUTPUTREVERSAL_ENABLE(__HANDLE__) ((__HANDLE__)->Instance->CR |= CRC_CR_REV_OUT) |
Set CRC output reversal. | |
#define | __HAL_CRC_OUTPUTREVERSAL_DISABLE(__HANDLE__) ((__HANDLE__)->Instance->CR &= ~(CRC_CR_REV_OUT)) |
Unset CRC output reversal. | |
#define | __HAL_CRC_POLYNOMIAL_CONFIG(__HANDLE__, __POLYNOMIAL__) ((__HANDLE__)->Instance->POL = (__POLYNOMIAL__)) |
Set CRC non-default polynomial. | |
#define __HAL_CRC_OUTPUTREVERSAL_DISABLE | ( | __HANDLE__ | ) | ((__HANDLE__)->Instance->CR &= ~(CRC_CR_REV_OUT)) |
Unset CRC output reversal.
__HANDLE__ | CRC handle |
None |
#define __HAL_CRC_OUTPUTREVERSAL_ENABLE | ( | __HANDLE__ | ) | ((__HANDLE__)->Instance->CR |= CRC_CR_REV_OUT) |
Set CRC output reversal.
__HANDLE__ | CRC handle |
None |
#define __HAL_CRC_POLYNOMIAL_CONFIG | ( | __HANDLE__, | |
__POLYNOMIAL__ | |||
) | ((__HANDLE__)->Instance->POL = (__POLYNOMIAL__)) |
Set CRC non-default polynomial.
__HANDLE__ | CRC handle |
__POLYNOMIAL__ | 7, 8, 16 or 32-bit polynomial |
None |