This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

PORT I/O...

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.

Parents
  • Next thing - with 8051 chips, you can't ignore "OUT" in relation to "IN" because many 8051 have pseudo-bidirectional ports

    I am using the C8051F044 MCU.
    which has configurable ports, so the above is not relevant for this chip

    as far as the OP's original quesrtion, reading the datasheet will answer it

    Erik

Reply
  • Next thing - with 8051 chips, you can't ignore "OUT" in relation to "IN" because many 8051 have pseudo-bidirectional ports

    I am using the C8051F044 MCU.
    which has configurable ports, so the above is not relevant for this chip

    as far as the OP's original quesrtion, reading the datasheet will answer it

    Erik

Children
No data