AnsweredAssumed Answered

S12ZVL128 How to configure AN0/PAD0 as digital input?

Question asked by Hesham Yassin on Jun 5, 2017
Latest reply on Jun 6, 2017 by Daniel Martynek

We are using DEVKIT-ZVL128 and we need to configure the pin AN0/PAD0 as digital input and the register PTADL is always giving us the pin high when following is the configuration used:


DDRADL = 0x00;

PERADL = 0x00;