HPM SDK
HPMicro Software Development Kit
crc_channel_config Struct Reference

Channel config. More...

#include <hpm_crc_drv.h>

Data Fields

crc_preset_t preset
 
uint32_t init
 
uint32_t poly
 
uint32_t poly_width
 
crc_in_byte_order_t in_byte_order
 
crc_refout_t refout
 
crc_refin_t refin
 
uint32_t xorout
 

Detailed Description

Channel config.

Field Documentation

◆ in_byte_order

crc_in_byte_order_t crc_channel_config::in_byte_order

CRC intput byte order. See "crc_in_byte_order_t".

◆ init

uint32_t crc_channel_config::init

Initial value for CRC.

◆ poly

uint32_t crc_channel_config::poly

Poly for CRC.

◆ poly_width

uint32_t crc_channel_config::poly_width

CRC poly width. See "CRC_POLY_WIDTH_x".

◆ preset

crc_preset_t crc_channel_config::preset

Preset CRC. See "crc_preset_t".

◆ refin

crc_refin_t crc_channel_config::refin

CRC reflect iutput. See "crc_refin_t".

◆ refout

crc_refout_t crc_channel_config::refout

CRC reflect output. See "crc_refout_t".

◆ xorout

uint32_t crc_channel_config::xorout

XOR mask for CRC result (for no mask, should be 0).


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