How do I enable parity check for ADC and other peripherals so that this test passes?
/* If ADC parity check is not enabled, return error. */ if((testType == ADC_SRAM_PARITY_TEST) && ((ADC_PAR_DIS) == BF_GET(config->adcbase->PARCR, ADC_PARCR_PAR_START, ADC_PARCR_PAR_LENGTH))) { SL_Log_Error(FUNC_ID_ST_ADC, ERR_TYPE_ENTRY_CON, 4u); return(FALSE); }
I already tried to the set the PARCR like this:
sl_adcREG1->PARCR = 0x10Au;
but that doesn't help. Is there an API for doing this?