Tool/software:
Hello!
I have a question regarding the DL_ADC12_SVT_OFFSET. I don’t quite understand why this offset value is needed. I did not find any information about this offset value in the reference manual or the data sheet.
Could you please explain the purpose of the DL_ADC12_SVT_OFFSET in this context?
/**
* @brief Returns the conversion result memory address.
*
* @param[in] adc12 Pointer to the register overlay for the peripheral
* @param[in] idx Memory conversion index. @ref DL_ADC12_MEM_IDX.
*
* @return Conversion result memory address
*
*/
__STATIC_INLINE uint32_t DL_ADC12_getMemResultAddress(
ADC12_Regs *adc12, DL_ADC12_MEM_IDX idx)
{
return ((uint32_t)(&adc12->ULLMEM.MEMRES[idx] + DL_ADC12_SVT_OFFSET));
}
Best regards,
Ali



