Hi asapuntz,
When your select the pin mux as the analog, the pull up and pull down circuit will be disconnect.
So, if you want to use it as the analog pin, you just need to set MUX=0, and configure the ADC modules.
The PE=1 is used for the digitial pin function.
When you disable the NMI pin function, then set the NMI pin as the MUX=0 your NMI pin is the analog pin now.
Your understanding is correct!
Wish it helps you!
If you still have questions about it, please kindly let me know!
Best Regards,
Kerry
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-----------------------------------------------------------------------------