Skip to main content
Visitor II
March 22, 2021
Question

Changing ADC to channel that is not configured by option byte.

  • March 22, 2021
  • 0 replies
  • 570 views

Hello,

Currently I am programming STM8AF5288.

With option byte OPT2.AFR5 the AIN3, AIN2, AIN1 and AIN0 can be remapped to the correct port.

Do I need to check if this bit is set correctly before I change the ADC channel to one of those AINx?

What will be measured if the bit is set wrong?

    This topic has been closed for replies.