Hi. What is/are the difference(s) between the following:
PxMDIN = 0xFF; // all pins on port1 are digital input with optional weak pullup. PxMDOUT = 0; // all pins on port1 are digital input as open-drain (no pullup).
Thank you.