Public Attributes | List of all members
CRC_InitTypeDef Struct Reference

CRC Init Structure definition. More...

#include <stm32h7xx_hal_crc.h>

Public Attributes

uint32_t CRCLength
 
uint8_t DefaultInitValueUse
 
uint8_t DefaultPolynomialUse
 
uint32_t GeneratingPolynomial
 
uint32_t InitValue
 
uint32_t InputDataInversionMode
 
uint32_t OutputDataInversionMode
 

Detailed Description

CRC Init Structure definition.

Definition at line 59 of file stm32h7xx_hal_crc.h.

Member Data Documentation

◆ CRCLength

uint32_t CRC_InitTypeDef::CRCLength

This parameter is a value of Polynomial sizes to configure the peripheral and indicates CRC length. Value can be either one of

Definition at line 77 of file stm32h7xx_hal_crc.h.

◆ DefaultInitValueUse

uint8_t CRC_InitTypeDef::DefaultInitValueUse

This parameter is a value of Indicates whether or not default init value is used and indicates if default init value is used. If set to DEFAULT_INIT_VALUE_ENABLE, resort to default 0xFFFFFFFF value. In that case, there is no need to set InitValue field. If otherwise set to DEFAULT_INIT_VALUE_DISABLE, InitValue field must be set.

Definition at line 67 of file stm32h7xx_hal_crc.h.

◆ DefaultPolynomialUse

uint8_t CRC_InitTypeDef::DefaultPolynomialUse

This parameter is a value of Indicates whether or not default polynomial is used and indicates if default polynomial is used. If set to DEFAULT_POLYNOMIAL_ENABLE, resort to default X^32 + X^26 + X^23 + X^22 + X^16 + X^12 + X^11 + X^10 +X^8 + X^7 + X^5 + X^4 + X^2+ X +1. In that case, there is no need to set GeneratingPolynomial field. If otherwise set to DEFAULT_POLYNOMIAL_DISABLE, GeneratingPolynomial and CRCLength fields must be set.

Definition at line 61 of file stm32h7xx_hal_crc.h.

◆ GeneratingPolynomial

uint32_t CRC_InitTypeDef::GeneratingPolynomial

Set CRC generating polynomial as a 7, 8, 16 or 32-bit long value for a polynomial degree respectively equal to 7, 8, 16 or 32. This field is written in normal representation, e.g., for a polynomial of degree 7, X^7 + X^6 + X^5 + X^2 + 1 is written 0x65. No need to specify it if DefaultPolynomialUse is set to DEFAULT_POLYNOMIAL_ENABLE.

Definition at line 72 of file stm32h7xx_hal_crc.h.

◆ InitValue

uint32_t CRC_InitTypeDef::InitValue

Init value to initiate CRC computation. No need to specify it if DefaultInitValueUse is set to DEFAULT_INIT_VALUE_ENABLE.

Definition at line 84 of file stm32h7xx_hal_crc.h.

◆ InputDataInversionMode

uint32_t CRC_InitTypeDef::InputDataInversionMode

This parameter is a value of Input Data Inversion Modes and specifies input data inversion mode. Can be either one of the following values

Definition at line 87 of file stm32h7xx_hal_crc.h.

◆ OutputDataInversionMode

uint32_t CRC_InitTypeDef::OutputDataInversionMode

This parameter is a value of Output Data Inversion Modes and specifies output data (i.e. CRC) inversion mode. Can be either

Definition at line 94 of file stm32h7xx_hal_crc.h.


The documentation for this struct was generated from the following file:


picovoice_driver
Author(s):
autogenerated on Fri Apr 1 2022 02:15:19