Dear Community,
I have a scenario where the DTC is configured to transfer data from the source address 0xFF1E (specifically referring to the ADCR register) to a destination uint16_t array.
My question is: should the received data be right shifted by 6 bits for further use or DTC will transfer the 6bit right shifted data ?
Thank you!
Hello,
The DTC will transfer the data in ADCR as they are, with 6 lower bits set to 0.
If you want to right shift them, it depends on your application.
Regards
Application wants 10bit adc data from ADCR register, so it should be right shifted to get perfect data right ?
as same as code generated for adc is as below,
Yes, that's correct.
Thanks for confirming the same !