PDL for FM4  Version1.2
Peripheral Driverl Library for FM4
stc_crc_config Struct Reference

Crc configuration. More...

#include <crc.h>

Data Fields

en_crc_mode_t enMode
 See description of en_crc_mode_t. More...
 
boolean_t bUseDma
 TRUE: DMA usage, needs DMA driver. More...
 
boolean_t bFinalXor
 TRUE: CRC result as XOR value. More...
 
boolean_t bResultLsbFirst
 CRC result bit order: TRUE: LSB first, FALSE MSB first. More...
 
boolean_t bResultLittleEndian
 CRC result byte order: TRUE: Litte endian, FLASE: big endian. More...
 
boolean_t bDataLsbFirst
 CRC feed data bit order: TRUE: LSB first, FALSE MSB first. More...
 
boolean_t bDataLittleEndian
 CRC feed data byte order: TRUE: Litte endian, FLASE: big endian. More...
 
uint32_t u32CrcInitValue
 Initial value, upper 16 bit ignored using CRC16. More...
 

Detailed Description

Crc configuration.

Definition at line 116 of file crc.h.

Field Documentation

boolean_t bDataLittleEndian

CRC feed data byte order: TRUE: Litte endian, FLASE: big endian.

Definition at line 124 of file crc.h.

Referenced by Crc_Init().

boolean_t bDataLsbFirst

CRC feed data bit order: TRUE: LSB first, FALSE MSB first.

Definition at line 123 of file crc.h.

Referenced by Crc_Init().

boolean_t bFinalXor

TRUE: CRC result as XOR value.

Definition at line 120 of file crc.h.

Referenced by Crc_Init().

boolean_t bResultLittleEndian

CRC result byte order: TRUE: Litte endian, FLASE: big endian.

Definition at line 122 of file crc.h.

Referenced by Crc_Init().

boolean_t bResultLsbFirst

CRC result bit order: TRUE: LSB first, FALSE MSB first.

Definition at line 121 of file crc.h.

Referenced by Crc_Init().

boolean_t bUseDma

TRUE: DMA usage, needs DMA driver.

Definition at line 119 of file crc.h.

en_crc_mode_t enMode

See description of en_crc_mode_t.

Definition at line 118 of file crc.h.

Referenced by Crc_Init().

uint32_t u32CrcInitValue

Initial value, upper 16 bit ignored using CRC16.

Definition at line 125 of file crc.h.

Referenced by Crc_Init().


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