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 |
Channel config.
| crc_in_byte_order_t crc_channel_config::in_byte_order |
CRC intput byte order. See "crc_in_byte_order_t".
| uint32_t crc_channel_config::init |
Initial value for CRC.
| uint32_t crc_channel_config::poly |
Poly for CRC.
| uint32_t crc_channel_config::poly_width |
CRC poly width. See "CRC_POLY_WIDTH_x".
| crc_preset_t crc_channel_config::preset |
Preset CRC. See "crc_preset_t".
| crc_refin_t crc_channel_config::refin |
CRC reflect iutput. See "crc_refin_t".
| crc_refout_t crc_channel_config::refout |
CRC reflect output. See "crc_refout_t".
| uint32_t crc_channel_config::xorout |
XOR mask for CRC result (for no mask, should be 0).