TUKS MCU Introductory course / TUKS-COURSE-THERMOMETER

Fork of TUKS-COURSE-TIMER by TUKS MCU Introductory course

Embed: (wiki syntax)

« Back to documentation index

CRC Private 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:
hcrc,:CRC handle
pBuffer,:pointer to the input data buffer
BufferLength,:input data buffer length
Return values:
uint32_tCRC (returned value LSBs for CRC shorter than 32 bits)

Definition at line 508 of file stm32l4xx_hal_crc.c.

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:
hcrc,:CRC handle
pBuffer,:pointer to the input data buffer
BufferLength,:input data buffer length
Return values:
uint32_tCRC (returned value LSBs for CRC shorter than 32 bits)

Definition at line 465 of file stm32l4xx_hal_crc.c.