/* Initializes the CMP user configuration structure. 
This function initializes the user configuration structure to these default values.  */
void CMP_GetDefaultConfig(cmp_config_t *config)
/* Initializes the CMP user configuration structure. 
This function initializes the user configuration structure to these default values.  */
void CMP_GetDefaultConfig(cmp_config_t *config)
{
    (void)memset(config, 0, sizeof(*config));
    config->enableHysteresis   = true;
    config->enableLowPower     = true;
    config->filterClockDivider = kCMP_FilterClockDivide1;
    config->filterSampleMode   = kCMP_FilterSampleMode0;
}