STM32L486xx HAL User Manual
Functions
CRC Private Functions
CRC

Functions

static uint32_t CRC_Handle_8 (CRC_HandleTypeDef *hcrc, uint8_t pBuffer[], uint32_t BufferLength)
 Enter 8-bit input data to the CRC calculator.
static uint32_t CRC_Handle_16 (CRC_HandleTypeDef *hcrc, uint16_t pBuffer[], uint32_t BufferLength)
 Enter 16-bit input data to the CRC calculator.

Function Documentation

static uint32_t CRC_Handle_16 ( CRC_HandleTypeDef hcrc,
uint16_t  pBuffer[],
uint32_t  BufferLength 
) [static]

Enter 16-bit input data to the CRC calculator.

Specific data handling to optimize processing time.

Parameters:
hcrcCRC handle
pBufferpointer to the input data buffer
BufferLengthinput data buffer length
Return values:
uint32_tCRC (returned value LSBs for CRC shorter than 32 bits)

Definition at line 511 of file stm32l4xx_hal_crc.c.

References CRC_HandleTypeDef::Instance.

Referenced by HAL_CRC_Accumulate(), and HAL_CRC_Calculate().

static uint32_t CRC_Handle_8 ( CRC_HandleTypeDef hcrc,
uint8_t  pBuffer[],
uint32_t  BufferLength 
) [static]

Enter 8-bit input data to the CRC calculator.

Specific data handling to optimize processing time.

Parameters:
hcrcCRC handle
pBufferpointer to the input data buffer
BufferLengthinput data buffer length
Return values:
uint32_tCRC (returned value LSBs for CRC shorter than 32 bits)

Definition at line 460 of file stm32l4xx_hal_crc.c.

References CRC_HandleTypeDef::Instance.

Referenced by HAL_CRC_Accumulate(), and HAL_CRC_Calculate().