Searched refs:crcConfig (Results 1 – 2 of 2) sorted by relevance
54 cy_en_dma_status_t Cy_DMA_Crc_Init(DW_Type * base, cy_stc_dma_crc_config_t const * crcConfig) in Cy_DMA_Crc_Init() argument58 if((NULL != base) && (NULL != crcConfig) ) in Cy_DMA_Crc_Init()60 if((NULL != base) && (NULL != crcConfig) && CY_DW_CRC) in Cy_DMA_Crc_Init()63 DW_CRC_CTL(base) = _BOOL2FLD(DW_V2_CRC_CTL_DATA_REVERSE, crcConfig->dataReverse) | in Cy_DMA_Crc_Init()64 _BOOL2FLD(DW_V2_CRC_CTL_REM_REVERSE, crcConfig->reminderReverse); in Cy_DMA_Crc_Init()66 DW_CRC_DATA_CTL(base) = _VAL2FLD(DW_V2_CRC_DATA_CTL_DATA_XOR, crcConfig->dataXor); in Cy_DMA_Crc_Init()67 DW_CRC_REM_CTL(base) = _VAL2FLD(DW_V2_CRC_REM_CTL_REM_XOR, crcConfig->reminderXor); in Cy_DMA_Crc_Init()68 DW_CRC_POL_CTL(base) = _VAL2FLD(DW_V2_CRC_POL_CTL_POLYNOMIAL, crcConfig->polynomial); in Cy_DMA_Crc_Init()69 DW_CRC_LFSR_CTL(base) = _VAL2FLD(DW_V2_CRC_LFSR_CTL_LFSR32, crcConfig->lfsrInitVal); in Cy_DMA_Crc_Init()
487 …dma_status_t Cy_DMA_Crc_Init (DW_Type * base, cy_stc_dma_crc_config_t const * crcConfig);