HPM SDK
HPMicro Software Development Kit
hpm_crc_drv.c File Reference
#include "hpm_common.h"
#include "hpm_crc_drv.h"

Functions

void crc_get_default_channel_config (crc_channel_config_t *cfg)
 Get default channel config. More...
 
hpm_stat_t crc_setup_channel_config (CRC_Type *ptr, uint32_t ch_index, crc_channel_config_t *cfg)
 Setup CRC channel. More...
 
void crc_calc_block_bytes (CRC_Type *ptr, uint32_t ch_index, uint8_t *pbuffer, uint32_t length)
 Calculate length bytes data block crc. More...
 
void crc_calc_block_half_words (CRC_Type *ptr, uint32_t ch_index, uint16_t *pbuffer, uint32_t length)
 Calculate length half-words data block crc. More...
 
void crc_calc_block_words (CRC_Type *ptr, uint32_t ch_index, uint32_t *pbuffer, uint32_t length)
 Calculate length words data block crc. More...
 
void crc_calc_large_block_fast (CRC_Type *ptr, uint32_t ch_index, uint8_t *pbuffer, uint32_t length)
 Fast calculate length bytes large data block crc. More...