This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

RM48L940: Enabling Parity Test on SafeTI Library

Part Number: RM48L940

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?