/* Starts intermediate checksum computation. 
Configures the CRC module for the specified CRC protocol.  */
static void CRC_SetRawProtocolConfig(CRC_Type *base, const crc_config_t *protocolConfig)
/* Starts intermediate checksum computation. 
Configures the CRC module for the specified CRC protocol.  */
static void CRC_SetRawProtocolConfig(CRC_Type *base, const crc_config_t *protocolConfig)
{
    crc_module_config_t moduleConfig;
    moduleConfig.polynomial = protocolConfig->polynomial;
    moduleConfig.seed       = protocolConfig->seed;
    moduleConfig.readTranspose =
        kCrcTransposeNone;
    moduleConfig.writeTranspose     = CRC_GetTransposeTypeFromReflectIn(protocolConfig->reflectIn);
    moduleConfig.complementChecksum = false;
    moduleConfig.crcBits            = protocolConfig->crcBits;
    CRC_ConfigureAndStart(base, &moduleConfig);
}